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

Memory leak in qabstractitemmodeltester.cpp's compare helper

XMLWordPrintable

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

      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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes