Commit 7539be67 authored by Stefan Behnel's avatar Stefan Behnel

safety fix

parent 707ce62b
......@@ -4881,11 +4881,9 @@ void INLINE __Pyx_ExceptionSave(PyObject **type, PyObject **value, PyObject **tb
*type = tstate->exc_type;
*value = tstate->exc_value;
*tb = tstate->exc_traceback;
if (*type) {
Py_INCREF(*type);
Py_XINCREF(*type);
Py_XINCREF(*value);
Py_XINCREF(*tb);
}
}
void __Pyx_ExceptionReset(PyObject *type, PyObject *value, PyObject *tb) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment