Skip to content
Snippets Groups Projects
Commit 04551b28 authored by Kelvin Rodriguez's avatar Kelvin Rodriguez
Browse files

removed invalid defref call

parent 42f09807
No related branches found
No related tags found
No related merge requests found
...@@ -341,7 +341,6 @@ namespace ale { ...@@ -341,7 +341,6 @@ namespace ale {
// Call the function with the arguments. // Call the function with the arguments.
PyObject* pResult = PyObject_CallObject(pFunc, pArgs); PyObject* pResult = PyObject_CallObject(pFunc, pArgs);
Py_DECREF(pArgs); Py_DECREF(pArgs);
Py_DECREF(pFunc);
Py_DECREF(pString); Py_DECREF(pString);
if(!pResult) { if(!pResult) {
throw invalid_argument(getPyTraceback()); throw invalid_argument(getPyTraceback());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment