PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 420 - Memory leak in setText
: Memory leak in setText
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: QtGui
: HEAD
: All All
: P3 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-10-18 13:05 EEST by jean.sreng
Modified: 2010-11-25 17:48 EET (History)
8 users (show)

See Also:


Attachments
Leaking example (590 bytes, application/empty)
2010-10-18 13:05 EEST, jean.sreng
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jean.sreng 2010-10-18 13:05:43 EEST
Created attachment 117 [details]
Leaking example

There is a memory leak somewhere when calling the function setText on QLabel,
QTextEdit or QTextBrowser objects (and possibly other related QtGui objects).

I tested under windows, I don't know if other platform are affected.

Please find attached a sample program (leaks 4Ko/sec).
Comment 1 renato filho 2010-10-18 13:16:00 EEST
wokrs fine on Linux, I will test this on windos later
Comment 2 Hugo Parente Lima 2010-10-21 18:51:37 EEST
Fixed in commit:

pyside/d094064ffeec72eaf75fcaa9e23ecab6506d346b

btw, thanks for report the leak!
Comment 3 renato filho 2010-11-25 17:48:14 EET
released on 1.0.0~beta1