svn commit: samba r18480 - in branches/SAMBA_3_0/source/libads: .

jra at samba.org jra at samba.org
Wed Sep 13 16:21:48 GMT 2006


Author: jra
Date: 2006-09-13 16:21:48 +0000 (Wed, 13 Sep 2006)
New Revision: 18480

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

Log:
Doh ! Double-free of hostnameDN.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/libads/ldap.c


Changeset:
Modified: branches/SAMBA_3_0/source/libads/ldap.c
===================================================================
--- branches/SAMBA_3_0/source/libads/ldap.c	2006-09-13 16:15:38 UTC (rev 18479)
+++ branches/SAMBA_3_0/source/libads/ldap.c	2006-09-13 16:21:48 UTC (rev 18480)
@@ -2922,7 +2922,6 @@
 		DEBUG(3,("ldap_delete_ext_s succeeded with error code %d\n", rc));
 	}
 
-	ads_memfree(ads, hostnameDN);
 	if (rc != LDAP_SUCCESS) {
 		const char *attrs[] = { "cn", NULL };
 		LDAPMessage *msg_sub;



More information about the samba-cvs mailing list