--- muine-0.6.3/libmuine/metadata.c 2004-02-27 22:11:01.000000000 +0100 +++ muine-0.6.3.patched/libmuine/metadata.c 2004-10-06 15:39:04.381903488 +0200 @@ -666,8 +666,13 @@ escaped = gnome_vfs_escape_path_string (filename); info = gnome_vfs_file_info_new (); - gnome_vfs_get_file_info (escaped, info, - GNOME_VFS_FILE_INFO_GET_MIME_TYPE | GNOME_VFS_FILE_INFO_FOLLOW_LINKS); + + if (gnome_vfs_get_file_info (escaped, info, + GNOME_VFS_FILE_INFO_GET_MIME_TYPE | GNOME_VFS_FILE_INFO_FOLLOW_LINKS) != GNOME_VFS_OK) { + gnome_vfs_file_info_unref (info); + g_free (escaped); + return NULL; + } if (!strcmp (info->mime_type, "audio/x-mp3") || !strcmp (info->mime_type, "audio/mpeg"))