From 62341537d7c43d678e66ba663ad07be629e3328e Mon Sep 17 00:00:00 2001 From: Anatoliy Atanasov Date: Fri, 2 Jul 2010 11:39:39 +0300 Subject: s4/schema: remove unnecessary deletion of dsdb_schema cached pointer This is needed so we can find and free old schemas based using the cached pointer --- source4/dsdb/schema/schema_set.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source4/dsdb/schema') diff --git a/source4/dsdb/schema/schema_set.c b/source4/dsdb/schema/schema_set.c index da5ad3ce92..e09d2073bb 100644 --- a/source4/dsdb/schema/schema_set.c +++ b/source4/dsdb/schema/schema_set.c @@ -536,9 +536,6 @@ void dsdb_make_schema_global(struct ldb_context *ldb, struct dsdb_schema *schema talloc_unlink(talloc_autofree_context(), global_schema); } - /* Wipe any reference to the exact schema - we will set 'use the global schema' below */ - ldb_set_opaque(ldb, "dsdb_schema", NULL); - /* we want the schema to be around permanently */ talloc_reparent(ldb, talloc_autofree_context(), schema); global_schema = schema; -- cgit