audacious/audacious-1.4.2-id3tag-close-file.patch

11 lines
421 B
Diff
Raw Permalink Normal View History

diff -r 8a260b322dc9 -r 20736bb2e7f6 src/libid3tag/file.c
--- a/src/libid3tag/file.c Wed Nov 28 06:02:59 2007 +0900
+++ b/src/libid3tag/file.c Wed Nov 28 16:55:02 2007 +0100
@@ -494,6 +494,7 @@ struct id3_file *id3_file_vfsopen(VFSFil
file = new_file(iofile, mode, path);
if (file == 0){
printf("id3_file_vfsopen: file failed\n");
+ aud_vfs_fclose(iofile);
}
aud_vfs_fseek(iofile, curpos, SEEK_SET);