From a821728e51895a08f2479c4a072dc2ecf726b381 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Mon, 22 Oct 2012 21:03:12 +0200 Subject: [PATCH 06/16] Fixed get_songinfo... --- libhimd/mp3tools.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libhimd/mp3tools.c b/libhimd/mp3tools.c index 35636eb..27e3b09 100644 --- a/libhimd/mp3tools.c +++ b/libhimd/mp3tools.c @@ -44,9 +44,8 @@ gboolean get_songinfo(const char *filepath, gchar ** artist, gchar ** title, gch tag = id3_file_tag(file); if(!tag) { - return FALSE; id3_file_close(file); - return; + return FALSE; } frame = id3_tag_findframe (tag, ID3_FRAME_ARTIST, 0); -- 1.8.0