* Hannu Tatein <[email protected]> [2016-01-14 16:57:38 -0500]:
> Hi Pyside Experts,

I'm by no means a PySide expert (hell, I never used it :P) but let me
share my thoughts anyways ;)

> Is there any way to avoid the memory leak? I tried QtGui.QPixmap.deref()
> before the first image, it does seem to work.

Have you tried to do self.pixmap.deleteLater() when you're done with
it?

Maybe it works with the same image due to Qt's implicit data sharing:
http://doc.qt.io/qt-4.8/implicit-sharing.html

Florian

-- 
http://www.the-compiler.org | [email protected] (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/

Attachment: signature.asc
Description: Digital signature

_______________________________________________
PySide mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/pyside

Reply via email to