mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-29 09:09:21 +00:00
Add missing reference decrement in the Python wrapper.
This commit is contained in:
parent
123e4ccdfe
commit
b79cc5738d
1 changed files with 1 additions and 0 deletions
|
|
@ -92,6 +92,7 @@ static PyObject * pylinphone_module_method_set_log_handler(PyObject *self, PyObj
|
|||
if (linphone_module != NULL) {
|
||||
Py_INCREF(callback);
|
||||
PyObject_SetAttrString(linphone_module, "__log_handler", callback);
|
||||
Py_DECREF(linphone_module);
|
||||
}
|
||||
Py_RETURN_NONE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue