summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
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);