Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.2
-
None
-
-
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 |
363633,2 | macOS: Fix leaked NSMutableArray in applicationActivationChanged | 6.2 | qt/qtbase | Status: MERGED | +2 | 0 |
363634,2 | macOS: Fix leaked NSMutableArray in applicationActivationChanged | 6.1 | qt/qtbase | Status: MERGED | +2 | 0 |
363635,2 | macOS: Fix leaked NSMutableArray in applicationActivationChanged | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
363659,3 | macOS: Fix leaked NSMutableArray in applicationActivationChanged | dev | qt/qtbase | Status: MERGED | +2 | 0 |