summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 8d5f2848..f23fc7ac 100644
--- a/mate-panel/panel-util.c
+++ b/mate-panel/panel-util.c
@@ -844,6 +844,7 @@ panel_util_get_file_display_name_if_mount (GFile *file)
compare = g_mount_get_root (mount);
if (!ret && g_file_equal (file, compare))
ret = g_mount_get_name (mount);
+ g_object_unref (compare);
g_object_unref (mount);
}
g_list_free (mounts);