Memory Leak in Safearray Conversion
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
In the method PyCom_PyObjectFromSAFEARRAYDimensionItem elements are retrieved via the SafeArrayGetElement method. The SafeArrayGetElement method always returns a copy of the internal data. In case of BSTR, IDispatch and IUnkown these copies are not freed or attached to a Python object. This patch attaches the returned values to the corresponding Python objects.
Patch fixing memory leak.