Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P2: Important
-
Resolution: Done
-
Affects Version/s: 4.7.1, 4.8.0
-
Component/s: QML: Declarative and Javascript Engine
-
Labels:None
-
Environment:Linux Ubuntu 10.04
Description
Please check the attached application it was implemented according to http://doc.qt.nokia.com/4.7-snapshot/qdeclarativemodels.html#qobjectlist-based-model
QObject* destructor called, delegate destructor called, gc() called, but it still shows increasing heap usage.
The increasing heap can be checked with pmap -x <pid> too.
valgrind says that despite of the destructor of the DataObject is called it leaks. If no delegate is specified then no memory leak happens.
Attachments
For Gerrit Dashboard: QTBUG-25784 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
26452,1 | Fix memory leak in qdeclarativevisualdatamodel. | 4.8 | qt/qt | Status: MERGED | +2 | 0 |