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

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

      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.

        1. patch.diff
          0.3 kB
        2. QMenuMemLeak.zip
          4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes