git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
s4:ldb Put ltdb_private under the 'module'
[ira/wip.git]
/
source4
/
lib
/
ldb
/
ldb_tdb
/
ldb_tdb.c
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);
return -1;
}
ldb_module_set_private(module, ltdb);
+ talloc_steal(module, ltdb);
if (ltdb_cache_load(module) != 0) {
talloc_free(module);
if (ltdb_cache_load(module) != 0) {
talloc_free(module);