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

Memory leak in qabstractitemmodeltester.cpp's compare helper

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.15.1
    • 5.15
    • Testing: qtestlib
    • None
    • fe4794f70ecc4a302b22ad26614203a70c049a13 (qt/qtbase/dev) 47bf767d8da6f1dd13e0fcb3def2abf804d21670 (qt/qtbase/5.15)

    Description

      The implementation uses QTest::toString, which strdup's the string data. Callers need to free the string.

       

      Reported by coverity with CIDs 186979 and 186980

      Attachments

        Issue Links

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

          Activity

            People

              vhilshei Volker Hilsheimer
              vhilshei Volker Hilsheimer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes