diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-01-14 18:54:42 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:40:53 -0500 |
commit | 2fe86d1e427d333741dae2f83c2bb23f629eec2e (patch) | |
tree | 47e031c5e677d8663eb1baf46ce2a64f72adfc7a /source4/dsdb/samdb/ldb_modules | |
parent | dbdb4cc2694e7dddbf335eb3c7c56495bbe600b1 (diff) | |
download | samba-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.c | 2 |
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); } |