From 7e9868c74fe5a1f6e7445a64a33a1cb408545bf7 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 31 Jan 2006 02:01:52 +0000 Subject: r13250: I missed a couple of talloc_free()'s Andrew Bartlett (This used to be commit 3570a62876dcd656b328bf8c2c1be617ae9a8fd7) --- source4/auth/gensec/gensec_gssapi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source4/auth/gensec/gensec_gssapi.c b/source4/auth/gensec/gensec_gssapi.c index c90faacf02..e576d8b7c9 100644 --- a/source4/auth/gensec/gensec_gssapi.c +++ b/source4/auth/gensec/gensec_gssapi.c @@ -791,6 +791,7 @@ static NTSTATUS gensec_gssapi_session_info(struct gensec_security *gensec_securi &name_token, NULL); if (maj_stat) { + talloc_free(mem_ctx); return NT_STATUS_FOOBAR; } @@ -909,6 +910,7 @@ static NTSTATUS gensec_gssapi_session_info(struct gensec_security *gensec_securi gensec_gssapi_state->delegated_cred_handle = GSS_C_NO_CREDENTIAL; } talloc_steal(gensec_gssapi_state, session_info); + talloc_free(mem_ctx); *_session_info = session_info; return NT_STATUS_OK; -- cgit