diff options
author | Tomas Bzatek <[email protected]> | 2020-07-16 17:46:48 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-07-23 13:33:01 +0200 |
commit | 7c82385341a1b5db43a4bf5cef81e133d07618e2 (patch) | |
tree | e6cd5c2a8bbe5986ed1325ef12b3088632dbe16a | |
parent | d765a39b9d48886a3d16d11d62bd79c7e1131577 (diff) | |
download | mate-panel-7c82385341a1b5db43a4bf5cef81e133d07618e2.tar.bz2 mate-panel-7c82385341a1b5db43a4bf5cef81e133d07618e2.tar.xz |
panel-util: Fix leaking root GFile
-rw-r--r-- | mate-panel/panel-util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mate-panel/panel-util.c b/mate-panel/panel-util.c index 7389b321..a5fa4296 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); |