git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0a787a
)
s4:ldb Put ltdb_private under the 'module'
author
Andrew Bartlett
<abartlet@samba.org>
Wed, 21 Oct 2009 05:08:24 +0000
(16:08 +1100)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 21 Oct 2009 11:43:56 +0000
(22:43 +1100)
This helps track the memory better, as we can then place it under the partition
hirarchy.
Andrew Bartlett
source4/lib/ldb/ldb_tdb/ldb_tdb.c
patch
|
blob
|
history
diff --git
a/source4/lib/ldb/ldb_tdb/ldb_tdb.c
b/source4/lib/ldb/ldb_tdb/ldb_tdb.c
index 63ce6e7aecc2706f6ca400845bfd17b323693591..56c8fa8d702178b5a8c3c3cc2eacae4270dc66ba 100644
(file)
--- 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);