clutter: Plug minor leak

clutter_stage_manager_list_stages() returns a copied list, which
should be freed.
This commit is contained in:
Carlos Garnacho 2018-04-20 16:32:32 +02:00
parent b5328c977e
commit 8cf42cd06c

View File

@ -214,6 +214,8 @@ cally_util_simulate_snooper_install (void)
G_CALLBACK (cally_util_stage_added_cb), cally_key_snooper);
g_signal_connect (G_OBJECT (stage_manager), "stage-removed",
G_CALLBACK (cally_util_stage_removed_cb), cally_key_snooper);
g_slist_free (stage_list);
}
static void