summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-10-16 11:23:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:21:10 -0500
commit8b60b7fa2ad0f707cad5af63566f4dd931a7a6b9 (patch)
treeecb20bcd38cab5bd3de030dd3c4ee2109b785cc7 /source4/dsdb
parent86a549eacaef6fee1077c96790cb037b09638c31 (diff)
downloadsamba-8b60b7fa2ad0f707cad5af63566f4dd931a7a6b9.tar.gz
samba-8b60b7fa2ad0f707cad5af63566f4dd931a7a6b9.tar.bz2
samba-8b60b7fa2ad0f707cad5af63566f4dd931a7a6b9.zip
r19329: fixed a leak in the password hash module
(This used to be commit 3f48bcb0585684686ba7601eb7614589a1bc2f5d)
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/password_hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/password_hash.c b/source4/dsdb/samdb/ldb_modules/password_hash.c
index a4862f3820..8bfd46e641 100644
--- a/source4/dsdb/samdb/ldb_modules/password_hash.c
+++ b/source4/dsdb/samdb/ldb_modules/password_hash.c
@@ -501,7 +501,7 @@ static int build_domain_data_request(struct ph_context *ac)
return LDB_ERR_OPERATIONS_ERROR;
}
- ac->dom_req->op.search.tree = ldb_parse_tree(ac->module->ldb, filter);
+ ac->dom_req->op.search.tree = ldb_parse_tree(ac->dom_req, filter);
if (ac->dom_req->op.search.tree == NULL) {
ldb_set_errstring(ac->module->ldb, "Invalid search filter");
talloc_free(ac->dom_req);