handle_python_error() was leaking an object

This commit is contained in:
elias.bachaalany 2010-05-06 07:51:36 +00:00
parent 69e35391a5
commit f4b1a7d87c

View File

@ -169,6 +169,7 @@ static void handle_python_error(char *errbuf, size_t errbufsize)
Py_XDECREF(ptype);
Py_XDECREF(pvalue);
Py_XDECREF(ptraceback);
Py_DECREF(result);
}
else
PyErr_Print();