coercion memory leak fix, part 2
This commit is contained in:
parent
70e1e46a61
commit
638e46d489
|
|
@ -88,6 +88,7 @@ attempt_coercion(PyObject *self, Dtool_PyTypedObject *classdef,
|
|||
(*coerced) = PyList_New(0);
|
||||
}
|
||||
PyList_Append(*coerced, obj);
|
||||
Py_DECREF(obj);
|
||||
return result;
|
||||
}
|
||||
// Some problem getting the C++ pointer from our created
|
||||
|
|
|
|||
Loading…
Reference in New Issue