mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 04:42:14 +00:00
clutter: Plug minor leak
clutter_stage_manager_list_stages() returns a copied list, which
should be freed.
(cherry picked from commit 8cf42cd06c
)
This commit is contained in:
parent
9d88fc8cb7
commit
47505dc5f6
@ -214,6 +214,8 @@ cally_util_simulate_snooper_install (void)
|
|||||||
G_CALLBACK (cally_util_stage_added_cb), cally_key_snooper);
|
G_CALLBACK (cally_util_stage_added_cb), cally_key_snooper);
|
||||||
g_signal_connect (G_OBJECT (stage_manager), "stage-removed",
|
g_signal_connect (G_OBJECT (stage_manager), "stage-removed",
|
||||||
G_CALLBACK (cally_util_stage_removed_cb), cally_key_snooper);
|
G_CALLBACK (cally_util_stage_removed_cb), cally_key_snooper);
|
||||||
|
|
||||||
|
g_slist_free (stage_list);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user