1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-04 08:22:08 +03:00

s4:registry - adaptions for "add also a memory context argument for "reg_key_del_abs"

This commit is contained in:
Matthias Dieter Wallnöfer
2010-03-22 19:56:52 +01:00
parent 5b6ad54f43
commit 5f850af84a
2 changed files with 2 additions and 2 deletions

View File

@ -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 */ /* therefore all children recursively and the "WERR_BADFILE" result is */
/* expected. */ /* expected. */
reg_key_del_abs(ctx, key_name); reg_key_del_abs(ctx, ctx, key_name);
return WERR_OK; return WERR_OK;
} }

View File

@ -61,7 +61,7 @@ static PyObject *py_key_del_abs(PyObject *self, PyObject *args)
if (!PyArg_ParseTuple(args, "s", &path)) if (!PyArg_ParseTuple(args, "s", &path))
return NULL; return NULL;
result = reg_key_del_abs(ctx, path); result = reg_key_del_abs(NULL, ctx, path);
PyErr_WERROR_IS_ERR_RAISE(result); PyErr_WERROR_IS_ERR_RAISE(result);
Py_RETURN_NONE; Py_RETURN_NONE;