[PySide] Wrong PyObject reference counting leads to memory leak in QMap->PyDict converter template code of PySide/QtCore/typesystem_core_common.xml

Hugo Parente Lima hugo.lima at openbossa.org
Tue Sep 11 15:36:25 CEST 2012


On Monday, September 10, 2012 08:34:23 PM Dennis Victorovich wrote:
> Hi everyone.
> 
> While migrating our project from PySide v1.0.9 to v1.1.1 we've spotted a
> memory leak. (no leak with older 1.0.9 apiextractor and shiboken)
> 
> We've found and fixed small problem in conversion code in
> PySide/QtCore/typesystem_core_common.xml.
> 
> We've checked our fix on ubuntu 32/64 and Win32 builds.
> Problem is fixed, no memory leak.
> 
> Bug is reported https://bugreports.qt-project.org/browse/PYSIDE-107
> Patch is attached.
> Hope this will help.

Patch integrated, thanks very much!
 
> Best regards.
> Dennis Shilko.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20120911/b282fae8/attachment.sig>


More information about the PySide mailing list