diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-22 19:56:52 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-22 22:31:03 +0100 |
commit | 5f850af84aec378780b5caeff9e795297654abcc (patch) | |
tree | e8c05aab88645a5f3785281ea0aa2ae0fdcf4f8c /source4/lib/registry | |
parent | 5b6ad54f43741c0c25b35e44cafe5fed352ff133 (diff) | |
download | samba-5f850af84aec378780b5caeff9e795297654abcc.tar.gz samba-5f850af84aec378780b5caeff9e795297654abcc.tar.bz2 samba-5f850af84aec378780b5caeff9e795297654abcc.zip |
s4:registry - adaptions for "add also a memory context argument for "reg_key_del_abs"
Diffstat (limited to 'source4/lib/registry')
-rw-r--r-- | source4/lib/registry/patchfile.c | 2 | ||||
-rw-r--r-- | source4/lib/registry/pyregistry.c | 2 |
2 files changed, 2 insertions, 2 deletions
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; |