diff options
Diffstat (limited to 'source4/param/provision.c')
-rw-r--r-- | source4/param/provision.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/param/provision.c b/source4/param/provision.c index 593f9ff168..fd97f69cb3 100644 --- a/source4/param/provision.c +++ b/source4/param/provision.c @@ -198,7 +198,7 @@ NTSTATUS provision_bare(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx, DEBUG(0, ("Missing 'lp' attribute")); return NT_STATUS_UNSUCCESSFUL; } - result->lp_ctx = lpcfg_from_py_object(result, py_lp_ctx); + result->lp_ctx = lpcfg_from_py_object(mem_ctx, py_lp_ctx); result->samdb = PyLdb_AsLdbContext(PyObject_GetAttrString(py_result, "samdb")); return NT_STATUS_OK; |