summaryrefslogtreecommitdiff
path: root/source4/dsdb/schema
diff options
context:
space:
mode:
Diffstat (limited to 'source4/dsdb/schema')
-rw-r--r--source4/dsdb/schema/schema_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/schema/schema_init.c b/source4/dsdb/schema/schema_init.c
index c7a7b59754..bf82b0b189 100644
--- a/source4/dsdb/schema/schema_init.c
+++ b/source4/dsdb/schema/schema_init.c
@@ -1061,7 +1061,7 @@ void dsdb_make_schema_global(struct ldb_context *ldb)
return;
}
- talloc_steal(NULL, schema);
+ talloc_steal(talloc_autofree_context(), schema);
global_schema = schema;
}