xcb: free a randr monitors pointer after usage
This amends 9a4c98e556.
Pick-to: 6.3
Fixes: QTBUG-101302
Change-Id: Ia7a2f82550843a90a5e101788e3835bf3332f697
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
bb10
parent
e1b8257dee
commit
404c5dc49f
|
|
@ -536,6 +536,7 @@ void QXcbConnection::initializeScreensFromMonitor(xcb_screen_iterator_t *it, int
|
|||
|
||||
xcb_randr_monitor_info_next(&monitor_iter);
|
||||
}
|
||||
free(monitors_r);
|
||||
|
||||
if (siblings.isEmpty()) {
|
||||
QXcbScreen *screen = nullptr;
|
||||
|
|
|
|||
Loading…
Reference in New Issue