Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-25784

QML Listview has memory leaks when QList<QObject*> model is used

    XMLWordPrintable

    Details

      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

          Activity

            People

            Assignee:
            denexter Andrew den Exter (closed Nokia identity) (Inactive)
            Reporter:
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes