From 96ec45309a367a00234f7c62c2d30c64ae95b680 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 21 Oct 2009 16:09:10 +1100 Subject: s4:dsdb talloc_steal the backend module to under the partition --- source4/dsdb/samdb/ldb_modules/partition_init.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/dsdb/samdb') 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); -- cgit