From ccdb6138aba387c45290351ba641256ccaf91e0a Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 27 Sep 2004 09:21:52 +0000 Subject: r2682: as sambdb holds all search data, don't double free the data metze (This used to be commit 740347255b8f1aafda1ebd10d63fdde1c4041af0) --- source4/ldap_server/ldap_simple_ldb.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'source4/ldap_server/ldap_simple_ldb.c') diff --git a/source4/ldap_server/ldap_simple_ldb.c b/source4/ldap_server/ldap_simple_ldb.c index 2ac8a04763..4fbc8f8a22 100644 --- a/source4/ldap_server/ldap_simple_ldb.c +++ b/source4/ldap_server/ldap_simple_ldb.c @@ -110,8 +110,6 @@ static NTSTATUS sldb_Search(struct ldapsrv_partition *partition, struct ldapsrv_ 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); -- cgit