svn commit: samba r19066 - in branches/SAMBA_3_0/source/nsswitch: .

vlendec at samba.org vlendec at samba.org
Wed Oct 4 16:33:42 GMT 2006


Author: vlendec
Date: 2006-10-04 16:33:42 +0000 (Wed, 04 Oct 2006)
New Revision: 19066

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

Log:
Fix a memleak
Modified:
   branches/SAMBA_3_0/source/nsswitch/winbindd_util.c


Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_util.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd_util.c	2006-10-04 16:18:36 UTC (rev 19065)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_util.c	2006-10-04 16:33:42 UTC (rev 19066)
@@ -350,6 +350,7 @@
 
 	if ((request == NULL) || (response == NULL) || (state == NULL)) {
 		DEBUG(0, ("talloc failed\n"));
+		TALLOC_FREE(mem_ctx);
 		continuation(private_data, False);
 		return WINBINDD_ERROR;
 	}



More information about the samba-cvs mailing list