shell-util: fix GFile leak
https://bugzilla.gnome.org/show_bug.cgi?id=678079
This commit is contained in:
parent
1cf2bb6646
commit
447246da74
@ -96,6 +96,7 @@ shell_util_get_file_display_for_common_files (GFile *file)
|
|||||||
* nautilus */
|
* nautilus */
|
||||||
return g_strdup (_("Home"));
|
return g_strdup (_("Home"));
|
||||||
}
|
}
|
||||||
|
g_object_unref (compare);
|
||||||
|
|
||||||
compare = g_file_new_for_path ("/");
|
compare = g_file_new_for_path ("/");
|
||||||
if (g_file_equal (file, compare))
|
if (g_file_equal (file, compare))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user