diff --git a/src/vfs/extfs/extfs.c b/src/vfs/extfs/extfs.c index e2033634e..b6c52e0d8 100644 --- a/src/vfs/extfs/extfs.c +++ b/src/vfs/extfs/extfs.c @@ -675,15 +675,11 @@ extfs_get_path_int (const vfs_path_t * vpath, struct archive **archive, gboolean path_element = vfs_path_get_by_index (vpath, -1); - archive_name = vfs_path_to_str_elements_count (vpath, -1); - fstype = extfs_which (path_element->class, path_element->vfs_prefix); - if (fstype == -1) - { - g_free (archive_name); return NULL; - } + + archive_name = vfs_path_to_str_elements_count (vpath, -1); /* * All filesystems should have some local archive, at least