git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
965feb2
)
r2682: as sambdb holds all search data, don't double free the data
author
Stefan Metzmacher
<metze@samba.org>
Mon, 27 Sep 2004 09:21:52 +0000
(09:21 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:59:21 +0000
(12:59 -0500)
metze
(This used to be commit
740347255b8f1aafda1ebd10d63fdde1c4041af0
)
source4/ldap_server/ldap_simple_ldb.c
patch
|
blob
|
history
diff --git
a/source4/ldap_server/ldap_simple_ldb.c
b/source4/ldap_server/ldap_simple_ldb.c
index 2ac8a04763c84e485272191bbc9c1487843ee278..4fbc8f8a2264c297e1b1c73d206f990169e375c3 100644
(file)
--- 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);