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

QTemporary Dir, 1-time 4 byte memory leak

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.5.1, 5.6.1
    • Core: I/O
    • None
    • Windows, MSYS build Environment
      Linux, Ubuntu

    Description

      Running valgrind on a program that uses QTemporaryFile and calls QTemporaryFile::open() induces a 1-time, 4-byte memory leak.

      Using it within a loop, say, 1000 times still creates the same memory leak, demonstrating it is not a major issue

      If the temporary file is not opened, merely created and then destroyed, there is no memory leak.

      Attachments

        1. qt_bug.txt
          0.9 kB
        2. qt_bug.cpp
          0.2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            cnn Qt Core & Network
            ahuszagh Alex Huszagh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes