summaryrefslogtreecommitdiff
path: root/source4/lib/registry/pyregistry.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/registry/pyregistry.c')
-rw-r--r--source4/lib/registry/pyregistry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/pyregistry.c b/source4/lib/registry/pyregistry.c
index 4c42dad6bf..53580bd371 100644
--- a/source4/lib/registry/pyregistry.c
+++ b/source4/lib/registry/pyregistry.c
@@ -61,7 +61,7 @@ static PyObject *py_key_del_abs(PyObject *self, PyObject *args)
if (!PyArg_ParseTuple(args, "s", &path))
return NULL;
- result = reg_key_del_abs(ctx, path);
+ result = reg_key_del_abs(NULL, ctx, path);
PyErr_WERROR_IS_ERR_RAISE(result);
Py_RETURN_NONE;