Fix g_free which should be g_object_unref in file browser

331af4bdda
This commit is contained in:
JosephMcc 2017-02-13 02:01:16 -08:00
parent e1a7919ebd
commit ca9321f599
1 changed files with 5 additions and 1 deletions

View File

@ -3013,7 +3013,11 @@ mount_cb (GFile *file,
g_object_unref (mount_info->operation); g_object_unref (mount_info->operation);
g_object_unref (mount_info->cancellable); g_object_unref (mount_info->cancellable);
g_free (mount_info->virtual_root);
if (mount_info->virtual_root)
{
g_object_unref (mount_info->virtual_root);
}
g_free (mount_info); g_free (mount_info);
} }