Commit 73ff0917 authored by Alberts Muktupāvels's avatar Alberts Muktupāvels
Browse files

monitor-manager-xrandr: fix memory leak

parent 499a5c0d
......@@ -155,6 +155,7 @@ ensure_supported_monitor_scales (GfMonitorManager *manager)
}
g_array_sort (supported_scales, compare_scales);
g_free (monitor_scales);
}
xrandr->supported_scales = (gfloat *) supported_scales->data;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment