Comment 12 for bug 723956

Revision history for this message
Florian Boucault (fboucault) wrote :

After investigating Qt's code it turns out that the likely culprit is QDeclarativeVisualItemModel for not always freeing the delegates.

Adding the following code to src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp at line 999 fixes the leak:

QCoreApplication::sendPostedEvents(obj, QEvent::DeferredDelete);