diff Plugins/Input/aac/src/fileinfo.c @ 982:287d4eb3ca27 trunk

[svn] - Let's not leave mp4 files open after reading their tags :P
author nhjm449
date Fri, 28 Apr 2006 22:43:09 -0700
parents e23aec1dd3ef
children d70514b3b436
line wrap: on
line diff
--- a/Plugins/Input/aac/src/fileinfo.c	Fri Apr 28 11:21:33 2006 -0700
+++ b/Plugins/Input/aac/src/fileinfo.c	Fri Apr 28 22:43:09 2006 -0700
@@ -412,7 +412,8 @@
         gtk_entry_set_text(GTK_ENTRY(artist_entry), audmp4_get_artist(mp4file));
         gtk_entry_set_text(GTK_ENTRY(title_entry), audmp4_get_title(mp4file));
         gtk_entry_set_text(GTK_ENTRY(year_entry), g_strdup_printf("%d", audmp4_get_year(mp4file)));
-	gtk_entry_set_text(GTK_ENTRY(album_entry), audmp4_get_album(mp4file));
+        gtk_entry_set_text(GTK_ENTRY(album_entry), audmp4_get_album(mp4file));
+        MP4Close(mp4file);
     }
 
     gtk_widget_show_all(window);