diff options
author | Andrew Bartlett <abartlet@samba.org> | 2014-04-02 12:12:14 +1300 |
---|---|---|
committer | David Disseldorp <ddiss@samba.org> | 2014-04-02 11:05:46 +0200 |
commit | d13b38dc9681997d35ba8085b1f944f2b31f50bf (patch) | |
tree | 7f82f581e256edbff0915f07c4080fbd4abbde61 /source3 | |
parent | dd499395a5eafeb469a17d31da63cc963b067752 (diff) | |
download | samba-d13b38dc9681997d35ba8085b1f944f2b31f50bf.tar.gz |
s3-auth: Remember to always free the talloc_stackframe() in auth_samba4
Change-Id: I94469de9d463ee90365bae43094231efaf0a7d8c
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/auth/auth_samba4.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/auth/auth_samba4.c b/source3/auth/auth_samba4.c index 49a77e8d122..146df9d02af 100644 --- a/source3/auth/auth_samba4.c +++ b/source3/auth/auth_samba4.c @@ -120,12 +120,14 @@ static NTSTATUS check_samba4_security(const struct auth_context *auth_context, nt_status = auth_context_set_challenge(auth4_context, auth_context->challenge.data, "auth_samba4"); if (!NT_STATUS_IS_OK(nt_status)) { TALLOC_FREE(auth4_context); + TALLOC_FREE(frame); return nt_status; } nt_status = auth_check_password(auth4_context, auth4_context, user_info, &user_info_dc); if (!NT_STATUS_IS_OK(nt_status)) { TALLOC_FREE(auth4_context); + TALLOC_FREE(frame); return nt_status; } |