mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 17:10:40 -05:00
backends/x11: Plug a leak
This commit is contained in:
parent
8d2f794bd3
commit
33c070cdd5
@ -909,6 +909,7 @@ ensure_supported_monitor_scales (MetaMonitorManager *manager)
|
||||
for (i = 0; i < n_monitor_scales; i++)
|
||||
add_supported_scale (supported_scales, monitor_scales[i]);
|
||||
g_array_sort (supported_scales, compare_scales);
|
||||
g_free (monitor_scales);
|
||||
}
|
||||
|
||||
manager_xrandr->supported_scales = (float *) supported_scales->data;
|
||||
|
Loading…
Reference in New Issue
Block a user