summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-12-26 22:59:17 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-12-28 22:39:19 +1100
commite387721bc53d7caa6d8f578ada242f4c5fa78716 (patch)
tree5573609eaf159ef0fede875ac1694fc553d3313c /source3/auth
parentd76abd1c45de32eea0b7a001eb819152435d66ef (diff)
downloadsamba-e387721bc53d7caa6d8f578ada242f4c5fa78716.tar.gz
samba-e387721bc53d7caa6d8f578ada242f4c5fa78716.tar.bz2
samba-e387721bc53d7caa6d8f578ada242f4c5fa78716.zip
s3-auth Fix talloc parent for s4 event context in auth_samba4
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth_samba4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth_samba4.c b/source3/auth/auth_samba4.c
index 21c7b44eed..119099d5dd 100644
--- a/source3/auth/auth_samba4.c
+++ b/source3/auth/auth_samba4.c
@@ -114,7 +114,7 @@ static NTSTATUS prepare_gensec(TALLOC_CTX *mem_ctx,
TALLOC_FREE(frame);
return NT_STATUS_INVALID_SERVER_STATE;
}
- event_ctx = s4_event_context_init(mem_ctx);
+ event_ctx = s4_event_context_init(frame);
if (event_ctx == NULL) {
DEBUG(1, ("s4_event_context_init failed\n"));
TALLOC_FREE(frame);