mirror of
https://github.com/cemu-project/idapython.git
synced 2024-11-28 03:54:18 +01:00
handle_python_error() was leaking an object
This commit is contained in:
parent
69e35391a5
commit
f4b1a7d87c
@ -169,6 +169,7 @@ static void handle_python_error(char *errbuf, size_t errbufsize)
|
|||||||
Py_XDECREF(ptype);
|
Py_XDECREF(ptype);
|
||||||
Py_XDECREF(pvalue);
|
Py_XDECREF(pvalue);
|
||||||
Py_XDECREF(ptraceback);
|
Py_XDECREF(ptraceback);
|
||||||
|
Py_DECREF(result);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
PyErr_Print();
|
PyErr_Print();
|
||||||
|
Loading…
Reference in New Issue
Block a user