summaryrefslogtreecommitdiffstats
path: root/source3/auth/auth_samba4.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/auth/auth_samba4.c')
-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 21c7b44eedf..119099d5dd2 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);