backends/x11: Plug a leak

This commit is contained in:
Carlos Garnacho 2018-02-27 14:10:04 +01:00
parent 8d2f794bd3
commit 33c070cdd5

View File

@ -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;