svn commit: samba r4360 - in branches/SAMBA_4_0/source/librpc/rpc: .

metze at samba.org metze at samba.org
Sat Dec 25 14:06:55 GMT 2004


Author: metze
Date: 2004-12-25 14:06:55 +0000 (Sat, 25 Dec 2004)
New Revision: 4360

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4360

Log:
destroy the gensec context

metze

Modified:
   branches/SAMBA_4_0/source/librpc/rpc/dcerpc_auth.c


Changeset:
Modified: branches/SAMBA_4_0/source/librpc/rpc/dcerpc_auth.c
===================================================================
--- branches/SAMBA_4_0/source/librpc/rpc/dcerpc_auth.c	2004-12-25 14:01:19 UTC (rev 4359)
+++ branches/SAMBA_4_0/source/librpc/rpc/dcerpc_auth.c	2004-12-25 14:06:55 UTC (rev 4360)
@@ -199,6 +199,7 @@
 	talloc_destroy(mem_ctx);
 
 	if (!NT_STATUS_IS_OK(status)) {
+		talloc_free(p->security_state.generic_state);
 		ZERO_STRUCT(p->security_state);
 	} else {
 		/* Authenticated connections use the generic session key */



More information about the samba-cvs mailing list