From e387721bc53d7caa6d8f578ada242f4c5fa78716 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 26 Dec 2011 22:59:17 +1100 Subject: s3-auth Fix talloc parent for s4 event context in auth_samba4 --- source3/auth/auth_samba4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit