summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-08-04 13:21:13 +0200
committerrbuj <[email protected]>2020-08-04 16:57:04 +0200
commit02eb194124d379c0eda858d6f3803b840732edc1 (patch)
treec4a3160acda260a8d0b607a5ed69c4fc7185c226
parentdecfcebaa4a07f38789bca6443479b350d3132df (diff)
downloadmate-panel-02eb194124d379c0eda858d6f3803b840732edc1.tar.bz2
mate-panel-02eb194124d379c0eda858d6f3803b840732edc1.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 a5fa4296..61e8cc7e 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);