From 8b60b7fa2ad0f707cad5af63566f4dd931a7a6b9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 16 Oct 2006 11:23:40 +0000 Subject: r19329: fixed a leak in the password hash module (This used to be commit 3f48bcb0585684686ba7601eb7614589a1bc2f5d) --- source4/dsdb/samdb/ldb_modules/password_hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/dsdb') 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); -- cgit