summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tools
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-10-16 12:03:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:21:11 -0500
commit549dd10f0f4bbc15c47a6da885db5d802b0a9a24 (patch)
treee08efe11251923a8ef9166a1ccaf20f0762a724d /source4/lib/ldb/tools
parent1695408407a5c4222554ed40c839c0c27c6df37c (diff)
downloadsamba-549dd10f0f4bbc15c47a6da885db5d802b0a9a24.tar.gz
samba-549dd10f0f4bbc15c47a6da885db5d802b0a9a24.tar.bz2
samba-549dd10f0f4bbc15c47a6da885db5d802b0a9a24.zip
r19332: ldb_parse_tree leaks
(This used to be commit 3e0e2787c1da1c3831e21b163e1370001d725a3d)
Diffstat (limited to 'source4/lib/ldb/tools')
-rw-r--r--source4/lib/ldb/tools/ldbsearch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/tools/ldbsearch.c b/source4/lib/ldb/tools/ldbsearch.c
index 23d8115c20..837dfc9088 100644
--- a/source4/lib/ldb/tools/ldbsearch.c
+++ b/source4/lib/ldb/tools/ldbsearch.c
@@ -215,7 +215,7 @@ static int do_search(struct ldb_context *ldb,
req->operation = LDB_SEARCH;
req->op.search.base = basedn;
req->op.search.scope = options->scope;
- req->op.search.tree = ldb_parse_tree(ldb, expression);
+ req->op.search.tree = ldb_parse_tree(req, expression);
if (req->op.search.tree == NULL) return -1;
req->op.search.attrs = attrs;
req->controls = sctx->req_ctrls;