svn commit: samba r12663 - in branches/SAMBA_3_0/source/passdb: .

vlendec at samba.org vlendec at samba.org
Sun Jan 1 18:30:44 GMT 2006


Author: vlendec
Date: 2006-01-01 18:30:44 +0000 (Sun, 01 Jan 2006)
New Revision: 12663

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

Log:
Fix a memleak
Modified:
   branches/SAMBA_3_0/source/passdb/pdb_ldap.c


Changeset:
Modified: branches/SAMBA_3_0/source/passdb/pdb_ldap.c
===================================================================
--- branches/SAMBA_3_0/source/passdb/pdb_ldap.c	2006-01-01 18:04:32 UTC (rev 12662)
+++ branches/SAMBA_3_0/source/passdb/pdb_ldap.c	2006-01-01 18:30:44 UTC (rev 12663)
@@ -3638,6 +3638,10 @@
 		goto done;
 	}
 
+	if (msg != NULL) {
+		ldap_msgfree(msg);
+	}
+
 	/* Same game for groups */
 
 	{



More information about the samba-cvs mailing list