From 8cf42cd06caab4118082e28b80fc6691e14cc524 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Fri, 20 Apr 2018 16:32:32 +0200 Subject: [PATCH] clutter: Plug minor leak clutter_stage_manager_list_stages() returns a copied list, which should be freed. --- clutter/clutter/cally/cally-util.c | 2 ++ 1 file changed, 2 insertions(+) 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