summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-08-04 13:21:13 +0200
committerRobert Antoni Buj Gelonch <[email protected]>2020-08-04 16:55:52 +0200
commiteace4fe6ab55b795b9648fc5f64ada6e2baa8baf (patch)
treed728f0535eecc428ce8d2291a6513c62ed590a35
parent1b345aadc36811bef511bbefa7e62c2fbc7e94cb (diff)
downloadmate-panel-eace4fe6ab55b795b9648fc5f64ada6e2baa8baf.tar.bz2
mate-panel-eace4fe6ab55b795b9648fc5f64ada6e2baa8baf.tar.xz
panel-util: Fix memory leak
-rw-r--r--mate-panel/panel-util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mate-panel/panel-util.c b/mate-panel/panel-util.c
index f23fc7ac..6dc299cb 100644
--- a/mate-panel/panel-util.c
+++ b/mate-panel/panel-util.c
@@ -966,6 +966,7 @@ panel_util_get_file_icon_name_if_mount (GFile *file)
ret = panel_util_get_icon_name_from_g_icon (gicon);
g_object_unref (gicon);
}
+ g_object_unref (compare);
g_object_unref (mount);
}
g_list_free (mounts);