1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s4/param: don't decref object we don't own

provision_fn is a borrowed reference we should not
call Py_CLEAR on it

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Noel Power 2020-03-16 15:27:15 +00:00 committed by Andrew Bartlett
parent e10910f8de
commit 32d56271eb

View File

@ -477,7 +477,6 @@ out:
talloc_free(tmp_mem);
Py_CLEAR(parameters);
Py_CLEAR(provision_mod);
Py_CLEAR(provision_fn);
Py_CLEAR(provision_dict);
Py_CLEAR(py_result);
Py_CLEAR(py_sid);