]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r19329: fixed a leak in the password hash module
authorAndrew Tridgell <tridge@samba.org>
Mon, 16 Oct 2006 11:23:40 +0000 (11:23 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:21:10 +0000 (14:21 -0500)
(This used to be commit 3f48bcb0585684686ba7601eb7614589a1bc2f5d)

source4/dsdb/samdb/ldb_modules/password_hash.c

index a4862f3820cd2be9a99187ab402a810d08a4d71c..8bfd46e64169ea905816520af3af4a28cd3e130f 100644 (file)
@@ -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);