summaryrefslogtreecommitdiff
path: root/source4/dsdb/schema/schema_convert_to_ol.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/dsdb/schema/schema_convert_to_ol.c')
-rw-r--r--source4/dsdb/schema/schema_convert_to_ol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/schema/schema_convert_to_ol.c b/source4/dsdb/schema/schema_convert_to_ol.c
index ff2595cb72..77a9b1f291 100644
--- a/source4/dsdb/schema/schema_convert_to_ol.c
+++ b/source4/dsdb/schema/schema_convert_to_ol.c
@@ -261,7 +261,7 @@ char *dsdb_convert_schema_to_openldap(struct ldb_context *ldb, char *target_str,
}
}
- schema = dsdb_get_schema(ldb);
+ schema = dsdb_get_schema(ldb, mem_ctx);
if (!schema) {
DEBUG(0, ("No schema on ldb to convert!\n"));
return NULL;