svn commit: samba r19323 - in branches/SAMBA_4_0/source/lib/ldb/common: .

tridge at samba.org tridge at samba.org
Mon Oct 16 09:28:40 GMT 2006


Author: tridge
Date: 2006-10-16 09:28:39 +0000 (Mon, 16 Oct 2006)
New Revision: 19323

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

Log:

fixed a leak in the ldif parse code

Modified:
   branches/SAMBA_4_0/source/lib/ldb/common/ldb_ldif.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/common/ldb_ldif.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/common/ldb_ldif.c	2006-10-16 09:08:43 UTC (rev 19322)
+++ branches/SAMBA_4_0/source/lib/ldb/common/ldb_ldif.c	2006-10-16 09:28:39 UTC (rev 19323)
@@ -550,6 +550,7 @@
 	if (!chunk) {
 		goto failed;
 	}
+	talloc_steal(ldif, chunk);
 
 	msg->private_data = chunk;
 	s = chunk;



More information about the samba-cvs mailing list