diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-09-27 09:21:52 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:59:21 -0500 |
commit | ccdb6138aba387c45290351ba641256ccaf91e0a (patch) | |
tree | e0a00fd9adc078f8bc2899459e477043c0107b1a /source4/ldap_server/ldap_simple_ldb.c | |
parent | 965feb2cffcff79982c442f6185bec1864a6ba48 (diff) | |
download | samba-ccdb6138aba387c45290351ba641256ccaf91e0a.tar.gz samba-ccdb6138aba387c45290351ba641256ccaf91e0a.tar.bz2 samba-ccdb6138aba387c45290351ba641256ccaf91e0a.zip |
r2682: as sambdb holds all search data, don't double free the data
metze
(This used to be commit 740347255b8f1aafda1ebd10d63fdde1c4041af0)
Diffstat (limited to 'source4/ldap_server/ldap_simple_ldb.c')
-rw-r--r-- | source4/ldap_server/ldap_simple_ldb.c | 2 |
1 files changed, 0 insertions, 2 deletions
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); |