mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-09-13 13:01:25 +00:00
file: fix memory leak in nautilus_file_is_remote
https://bugzilla.gnome.org/show_bug.cgi?id=770306
This commit is contained in:
parent
fa4aabe9fd
commit
7ed23baf58
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in a new issue