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

ListModel get() leaks memory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 5.6.0
    • None
    • Windows 7 64bits
      qt-enterprise-windows-x86-mingw-w64-492-5.6.0.exe
    • 44a89492b49f23a975377795dbb7a48916cb5081

    Description

      TableView + ListModel, ListModel get() is existed memory leak.

          Timer {
              interval: 10; running: true; repeat: true
              onTriggered: {
      
               // 1. memory leak
                libraryModel.get( 0 ).number = ++n_number;
      
                  // 2. normal
                 // libraryModel.setProperty( 0, "number", ++n_number );
              }
          }
      

      Attachments

        1. main.qml
          2 kB
          Hurricane
        2. main.qml
          2 kB
          Hurricane

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              shausman Simon Hausmann
              Hurricane Hurricane
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes