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

Multiple memory leaks in Qt 5.6.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 5.6.0
    • None
    • Ubuntu 14.04, Qt 5.6.0 built from the source archive.

    Description

      I've ran some of the qt tests through a dynamic analyzer (Pareon Verify), and found several memory leaks. The line numbers below correspond to the source release of Qt 5.6.0.

      Class members allocated in constructors and never freed:

      a. QTabletEvent::mExtra
      Allocated in: qevent.cpp:2324
      Auto test: tst_qwindow

      b. QScrollerPrivate::scrollTimer
      Allocated in: qscroller.cpp:889
      Auto test: tst_qscroller

      c. QGLBufferPrivate::funcs
      Allocated in: qglbuffer.cpp:282
      Auto test: tst_qglbuffer

      d. QGraphicsGridLayoutPrivate::styleInfo
      Allocated in: qgraphicsgridlayout.cpp:110
      Auto test: tst_qgraphicsgridlayout

      Duplicate of QTBUG-41322.

      EDIT: Removed leaks in test code.

      Attachments

        There are no Sub-Tasks for this issue.
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            lessandrovf Lessandro Mariano
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes