summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_tdb/ldb_search.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-06-13 05:18:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:02 -0500
commit87acba39f9e45eb6849cfd945ce6255bac5564c9 (patch)
treece5bf478de0a51ba246dbfdb6d21db12d6147a26 /source4/lib/ldb/ldb_tdb/ldb_search.c
parent2be36bb85d0278a1f27f7202ed2c0e88a5f85a31 (diff)
downloadsamba-87acba39f9e45eb6849cfd945ce6255bac5564c9.tar.gz
samba-87acba39f9e45eb6849cfd945ce6255bac5564c9.tar.bz2
samba-87acba39f9e45eb6849cfd945ce6255bac5564c9.zip
r7514: make the ldb_parse code not depend on a ldb_context, so we can now potentially use
it in our ldap client code, instead of replicating all the code (This used to be commit 5b3575d9303d54a771e080a670dcd2f444b10c20)
Diffstat (limited to 'source4/lib/ldb/ldb_tdb/ldb_search.c')
-rw-r--r--source4/lib/ldb/ldb_tdb/ldb_search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/ldb_tdb/ldb_search.c b/source4/lib/ldb/ldb_tdb/ldb_search.c
index 7883ee6e7b..e036ae0966 100644
--- a/source4/lib/ldb/ldb_tdb/ldb_search.c
+++ b/source4/lib/ldb/ldb_tdb/ldb_search.c
@@ -506,7 +506,7 @@ int ltdb_search(struct ldb_module *module, const char *base,
}
}
- ldb_parse_tree_free(ldb, tree);
+ talloc_free(tree);
ltdb_unlock_read(module);
return ret;