svn commit: samba r2682 - in branches/SAMBA_4_0/source/ldap_server: .

metze at samba.org metze at samba.org
Mon Sep 27 09:21:53 GMT 2004


Author: metze
Date: 2004-09-27 09:21:52 +0000 (Mon, 27 Sep 2004)
New Revision: 2682

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/ldap_server&rev=2682&nolog=1

Log:
as sambdb holds all search data, don't double free the data

metze

Modified:
   branches/SAMBA_4_0/source/ldap_server/ldap_simple_ldb.c


Changeset:
Modified: branches/SAMBA_4_0/source/ldap_server/ldap_simple_ldb.c
===================================================================
--- branches/SAMBA_4_0/source/ldap_server/ldap_simple_ldb.c	2004-09-27 08:52:31 UTC (rev 2681)
+++ branches/SAMBA_4_0/source/ldap_server/ldap_simple_ldb.c	2004-09-27 09:21:52 UTC (rev 2682)
@@ -110,8 +110,6 @@
 		ldapsrv_queue_reply(call, ent_r);
 	}
 
-	ldb_set_alloc(ldb, talloc_ldb_alloc, call);
-	ldb_search_free(ldb, res);
 	talloc_free(samdb);
 
 	done_r = ldapsrv_init_reply(call, LDAP_TAG_SearchResultDone);



More information about the samba-cvs mailing list