svn commit: samba r20703 - in branches/SAMBA_4_0/source/dsdb/samdb: .

metze at samba.org metze at samba.org
Fri Jan 12 13:00:56 GMT 2007


Author: metze
Date: 2007-01-12 13:00:55 +0000 (Fri, 12 Jan 2007)
New Revision: 20703

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

Log:
fix minor memory leak

metze
Modified:
   branches/SAMBA_4_0/source/dsdb/samdb/samdb.c


Changeset:
Modified: branches/SAMBA_4_0/source/dsdb/samdb/samdb.c
===================================================================
--- branches/SAMBA_4_0/source/dsdb/samdb/samdb.c	2007-01-12 12:55:30 UTC (rev 20702)
+++ branches/SAMBA_4_0/source/dsdb/samdb/samdb.c	2007-01-12 13:00:55 UTC (rev 20703)
@@ -1165,6 +1165,7 @@
 	if (ret) {
 		goto failed;
 	}
+	talloc_steal(tmp_ctx, root_res);
 
 	if (root_res->count != 1) {
 		goto failed;



More information about the samba-cvs mailing list