diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2018-04-20 14:32:32 +0000 |
---|---|---|
committer | Marco Trevisan <mail@3v1n0.net> | 2018-08-31 15:55:45 +0000 |
commit | 47505dc5f618206d4af4cf7ed9d82925a2b366f6 (patch) | |
tree | f9357983fe82cf4e67f1857aa60e7fa0f02449fd | |
parent | 9d88fc8cb7565ce21563c1195c2950f8f050a3fc (diff) | |
download | mutter-47505dc5f618206d4af4cf7ed9d82925a2b366f6.tar.gz |
clutter: Plug minor leak
clutter_stage_manager_list_stages() returns a copied list, which
should be freed.
(cherry picked from commit 8cf42cd06caab4118082e28b80fc6691e14cc524)
-rw-r--r-- | clutter/clutter/cally/cally-util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clutter/clutter/cally/cally-util.c b/clutter/clutter/cally/cally-util.c index 8ffd2071a..8d6b19c6e 100644 --- a/clutter/clutter/cally/cally-util.c +++ b/clutter/clutter/cally/cally-util.c @@ -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 |