1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-13 08:23:49 +03:00

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

metze
This commit is contained in:
Stefan Metzmacher
2004-09-27 09:21:52 +00:00
committed by Gerald (Jerry) Carter
parent 67bb491725
commit 740347255b

View File

@@ -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);