Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P2: Important
-
Resolution: Done
-
Affects Version/s: 5.15.2
-
Fix Version/s: 5.15.6, 6.1.3, 6.2.0 Beta3, 6.3.0 Alpha
-
Component/s: GUI: Window management, QPA
-
Labels:None
-
Platform/s:
-
Commits: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.