core: Plug leaks

The MetaWorkspaceLogicalMonitorData structs are leaked, and so is the
stamps hashtable in MetaDisplay.

https://bugzilla.gnome.org/show_bug.cgi?id=789984
This commit is contained in:
Carlos Garnacho
2017-11-06 20:38:43 +01:00
parent 180985018b
commit 0a36a4545f
2 changed files with 2 additions and 0 deletions

View File

@ -99,6 +99,7 @@ workspace_logical_monitor_data_free (MetaWorkspaceLogicalMonitorData *data)
{
g_clear_pointer (&data->logical_monitor_region,
meta_rectangle_free_list_and_elements);
g_free (data);
}
static MetaWorkspaceLogicalMonitorData *