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

Dennis Victorovich dennis.victorovich at gmail.com
Mon Sep 10 18:34:23 CEST 2012


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.

Best regards.
Dennis Shilko.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20120910/28239397/attachment.html>


More information about the PySide mailing list