summary refs log tree commit diff stats
path: root/plugins/mpcinfo/mp3Info.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mpcinfo/mp3Info.c')
-rw-r--r--plugins/mpcinfo/mp3Info.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mpcinfo/mp3Info.c b/plugins/mpcinfo/mp3Info.c
index b7112a5d..99718624 100644
--- a/plugins/mpcinfo/mp3Info.c
+++ b/plugins/mpcinfo/mp3Info.c
@@ -244,6 +244,7 @@ struct tagInfo readID3V2(char *file){
 	for (i=0;i<10;i++){
         c=fgetc(f);
         if (c==EOF){
+            fclose(f);
            //putlog("found eof while reading id3v2");
            return ret;
         }