From 5f850af84aec378780b5caeff9e795297654abcc Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Mon, 22 Mar 2010 19:56:52 +0100 Subject: s4:registry - adaptions for "add also a memory context argument for "reg_key_del_abs" --- source4/lib/registry/patchfile.c | 2 +- source4/lib/registry/pyregistry.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/lib/registry') diff --git a/source4/lib/registry/patchfile.c b/source4/lib/registry/patchfile.c index d91516cdc9..c3395d4204 100644 --- a/source4/lib/registry/patchfile.c +++ b/source4/lib/registry/patchfile.c @@ -434,7 +434,7 @@ static WERROR reg_diff_apply_del_key(void *_ctx, const char *key_name) /* therefore all children recursively and the "WERR_BADFILE" result is */ /* expected. */ - reg_key_del_abs(ctx, key_name); + reg_key_del_abs(ctx, ctx, key_name); return WERR_OK; } 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; -- cgit