summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-01-14 18:54:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:40:53 -0500
commit2fe86d1e427d333741dae2f83c2bb23f629eec2e (patch)
tree47e031c5e677d8663eb1baf46ce2a64f72adfc7a /source4/dsdb/samdb/ldb_modules
parentdbdb4cc2694e7dddbf335eb3c7c56495bbe600b1 (diff)
downloadsamba-2fe86d1e427d333741dae2f83c2bb23f629eec2e.tar.gz
samba-2fe86d1e427d333741dae2f83c2bb23f629eec2e.tar.bz2
samba-2fe86d1e427d333741dae2f83c2bb23f629eec2e.zip
r20778: we don't need a talloc_steal here
metze (This used to be commit 0ef90769b49b93cb57e9a1ba2aea280ec70ae151)
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r--source4/dsdb/samdb/ldb_modules/schema_fsmo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/schema_fsmo.c b/source4/dsdb/samdb/ldb_modules/schema_fsmo.c
index 1a83e3a9bf..9faed9a5ac 100644
--- a/source4/dsdb/samdb/ldb_modules/schema_fsmo.c
+++ b/source4/dsdb/samdb/ldb_modules/schema_fsmo.c
@@ -200,6 +200,7 @@ static int schema_fsmo_init(struct ldb_module *module)
}
talloc_free(c_res);
+ /* dsdb_set_schema() steal schema into the ldb_context */
ret = dsdb_set_schema(module->ldb, schema);
if (ret != LDB_SUCCESS) {
ldb_debug_set(module->ldb, LDB_DEBUG_FATAL,
@@ -209,7 +210,6 @@ static int schema_fsmo_init(struct ldb_module *module)
return ret;
}
- talloc_steal(module, schema);
talloc_free(mem_ctx);
return ldb_next_init(module);
}