file: fix memory leak in nautilus_file_is_remote

https://bugzilla.gnome.org/show_bug.cgi?id=770306
This commit is contained in:
Georges Basile Stavracas Neto 2016-08-23 19:07:58 -03:00
parent fa4aabe9fd
commit 7ed23baf58

View file

@ -8196,7 +8196,7 @@ static const gchar * const remote_types[] =
gboolean
nautilus_file_is_remote (NautilusFile *file)
{
char *filesystem_type;
g_autofree char* filesystem_type = NULL;
g_assert (NAUTILUS_IS_FILE (file));