shell-util: fix GFile leak

https://bugzilla.gnome.org/show_bug.cgi?id=678079
This commit is contained in:
Pavel Vasin 2012-06-13 16:49:20 +04:00 committed by Jasper St. Pierre
parent 1cf2bb6646
commit 447246da74

View File

@ -96,6 +96,7 @@ shell_util_get_file_display_for_common_files (GFile *file)
* nautilus */
return g_strdup (_("Home"));
}
g_object_unref (compare);
compare = g_file_new_for_path ("/");
if (g_file_equal (file, compare))