diff options
author | Andrew Bartlett <abartlet@samba.org> | 2009-10-21 16:08:24 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-10-21 22:43:56 +1100 |
commit | 937140bf102a2a92d7822f22f30a9adc19920834 (patch) | |
tree | f055660950d5c1eac2c0fa817c474bb2967f3ab5 /source4/lib | |
parent | a0a787ad78a72b1bb9e7f9f7f28d18a4023a666b (diff) | |
download | samba-937140bf102a2a92d7822f22f30a9adc19920834.tar.gz samba-937140bf102a2a92d7822f22f30a9adc19920834.tar.bz2 samba-937140bf102a2a92d7822f22f30a9adc19920834.zip |
s4:ldb Put ltdb_private under the 'module'
This helps track the memory better, as we can then place it under the partition
hirarchy.
Andrew Bartlett
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/ldb/ldb_tdb/ldb_tdb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/ldb/ldb_tdb/ldb_tdb.c b/source4/lib/ldb/ldb_tdb/ldb_tdb.c index 63ce6e7aec..56c8fa8d70 100644 --- a/source4/lib/ldb/ldb_tdb/ldb_tdb.c +++ b/source4/lib/ldb/ldb_tdb/ldb_tdb.c @@ -1352,6 +1352,7 @@ static int ltdb_connect(struct ldb_context *ldb, const char *url, return -1; } ldb_module_set_private(module, ltdb); + talloc_steal(module, ltdb); if (ltdb_cache_load(module) != 0) { talloc_free(module); |