# HG changeset patch # User nhjm449 # Date 1146289389 25200 # Node ID 287d4eb3ca27ce5886cda348c6b5eb26dda105d3 # Parent 00e3b13188c145fc25daaaa668ee1b2e70f5ac2d [svn] - Let's not leave mp4 files open after reading their tags :P diff -r 00e3b13188c1 -r 287d4eb3ca27 Plugins/Input/aac/src/fileinfo.c --- 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); diff -r 00e3b13188c1 -r 287d4eb3ca27 Plugins/Input/aac/src/libmp4.c --- a/Plugins/Input/aac/src/libmp4.c Fri Apr 28 11:21:33 2006 -0700 +++ b/Plugins/Input/aac/src/libmp4.c Fri Apr 28 22:43:09 2006 -0700 @@ -305,6 +305,8 @@ free (input->file_name); free (input->file_path); free (input); + + MP4Close(mp4file); } if (!title)