The _PyObject_AsPointer function in interface_util.c
was leaking a python reference each time it was called.
This one line patch adds a call to Py_DECREF to clean
Diff for interface_util.c
Logged In: YES
Okay, I can't provoke a leak in any of my tests, but the
patch seems correct (that is, the function is returning a
new reference). I've revised it slightly so that it isn't
reusing the parameter for storing the value (instead using a
separate variable), but otherwise it's in there.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.