svn commit: samba r15696 - branches/SAMBA_3_0/source/libads trunk/source/libads

gd at samba.org gd at samba.org
Thu May 18 15:08:09 GMT 2006


Author: gd
Date: 2006-05-18 15:08:09 +0000 (Thu, 18 May 2006)
New Revision: 15696

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

Log:
Free LDAP search result.

Guenther

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


Changeset:
Modified: branches/SAMBA_3_0/source/libads/ldap.c
===================================================================
--- branches/SAMBA_3_0/source/libads/ldap.c	2006-05-18 12:58:14 UTC (rev 15695)
+++ branches/SAMBA_3_0/source/libads/ldap.c	2006-05-18 15:08:09 UTC (rev 15696)
@@ -2422,6 +2422,8 @@
 		DEBUG(4,("time offset is %d seconds\n", ads->auth.time_offset));
 	}
 
+	ads_msgfree(ads, res);
+
 	status = ADS_SUCCESS;
 
 done:

Modified: trunk/source/libads/ldap.c
===================================================================
--- trunk/source/libads/ldap.c	2006-05-18 12:58:14 UTC (rev 15695)
+++ trunk/source/libads/ldap.c	2006-05-18 15:08:09 UTC (rev 15696)
@@ -2422,6 +2422,8 @@
 		DEBUG(4,("time offset is %d seconds\n", ads->auth.time_offset));
 	}
 
+	ads_msgfree(ads, res);
+
 	status = ADS_SUCCESS;
 
 done:



More information about the samba-cvs mailing list