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

memory-leak in QApplication

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 4.6.0
    • None
    • None
    • ubuntu 9.10
      gcc 4.4.1
      32-bit

    Description

      the following code results in memory-leaks as reported by valgrind

      #include <QtGui>

      int main(int argc, char *argv[])
      {
      QApplication app(argc, argv);
      return 0;
      }

      valgrind says:
      ==7104== LEAK SUMMARY:
      ==7104== definitely lost: 2,976 bytes in 11 blocks
      ==7104== indirectly lost: 9,380 bytes in 471 blocks
      ==7104== possibly lost: 368,091 bytes in 2,886 blocks
      ==7104== still reachable: 458,817 bytes in 7,197 blocks
      ==7104== suppressed: 0 bytes in 0 blocks
      ==7104== Reachable blocks (those to which a pointer was found) are not shown.
      ==7104== To see them, rerun with: --leak-check=full --show-reachable=yes

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            parallaxe Hendrik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes