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

[Mac] Memory leak in QNSWindow::applicationActivationChanged

    XMLWordPrintable

Details

    • macOS
    • ab70aa362ee5dd5b1375b198dcd6d6445ab2daeb (qt/qtbase/dev) 40c536b712556c2a47060615a4a2e3ce09ea84ec (qt/qtbase/6.2) 6f34bf0d67a52b6f11c4aea385d04299785e2dfa (qt/qtbase/6.1) f79fb8fda2abb7a69bed705d5c44388519103549 (qt/tqtc-qtbase/5.15)

    Description

      There's memory leak in QNSWindow::applicationActivationChanged

      // Unfortunately there's no NSWindowListOrderedBackToFront,
      // so we have to manually reverse the order using an array.
      NSMutableArray<NSWindow *> *windows = [NSMutableArray<NSWindow *> new];
      

      NSMutableArray is allocated but never freed.

      Attachments

        For Gerrit Dashboard: QTBUG-95619
        # Subject Branch Project Status CR V

        Activity

          People

            vestbo Tor Arne Vestbø
            sergei.nevdakh Sergei Nevdakh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews