summary refs log tree commit diff stats
path: root/plugins/mpcinfo/oggInfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mpcinfo/oggInfo.c')
-rw-r--r--plugins/mpcinfo/oggInfo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mpcinfo/oggInfo.c b/plugins/mpcinfo/oggInfo.c
index e1191649..8ecf0f5b 100644
--- a/plugins/mpcinfo/oggInfo.c
+++ b/plugins/mpcinfo/oggInfo.c
@@ -104,6 +104,7 @@ struct tagInfo getOggHeader(char *file){
 		if (strcmp(name,"GENRE")==0) info.genre=val;
 		if (strcmp(name,"COMMENT")==0) info.comment=val;
 		pos+=4+tagLen;
+		free(name);
 	}
 	if (info.artist==NULL) info.artist="";
 	if (info.album==NULL) info.album ="";