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:
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
Reference in New Issue
Block a user