summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-10-21 16:09:10 +1100
committerAndrew Bartlett <abartlet@samba.org>2009-10-21 22:43:57 +1100
commit96ec45309a367a00234f7c62c2d30c64ae95b680 (patch)
tree8429c6da015ec3998adf17192a5beee4d2b64193
parent937140bf102a2a92d7822f22f30a9adc19920834 (diff)
downloadsamba-96ec45309a367a00234f7c62c2d30c64ae95b680.tar.gz
samba-96ec45309a367a00234f7c62c2d30c64ae95b680.tar.bz2
samba-96ec45309a367a00234f7c62c2d30c64ae95b680.zip
s4:dsdb talloc_steal the backend module to under the partition
-rw-r--r--source4/dsdb/samdb/ldb_modules/partition_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/partition_init.c b/source4/dsdb/samdb/ldb_modules/partition_init.c
index d8733a44c5..c54fa50125 100644
--- a/source4/dsdb/samdb/ldb_modules/partition_init.c
+++ b/source4/dsdb/samdb/ldb_modules/partition_init.c
@@ -250,6 +250,7 @@ static int new_partition_from_dn(struct ldb_context *ldb, struct partition_priva
if (ret != LDB_SUCCESS) {
return ret;
}
+ talloc_steal((*partition), backend_module);
modules = find_modules_for_dn(data, dn);