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

When calling clear() on a QMenu that has a separator in it then it will leak memory on Mac

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • 4.8.x
    • 4.6.3, 4.7.0, 5.5.0
    • Widgets: Main Window
    • None
    • Mac OS X - Cocoa
    • macOS

    Description

      When calling clear() on a QMenu that has a separator in it then it will leak memory on Mac. Other actions are cleaned up fine when they are deleted by the parent.

      Attachments

        1. patch.diff
          0.3 kB
          Andy Shaw (closed Nokia identity)
        2. QMenuMemLeak.zip
          4 kB
          Le FdcTest
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            andysh Andy Shaw
            anshaw Andy Shaw (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes