Revision: 1649
          http://gtkpod.svn.sourceforge.net/gtkpod/?rev=1649&view=rev
Author:   tiffman
Date:     2007-07-15 06:46:51 -0700 (Sun, 15 Jul 2007)

Log Message:
-----------
Wasn't properly closing files in mp3_get_track_lame_gapless().

Modified Paths:
--------------
    gtkpod/trunk/ChangeLog_detailed
    gtkpod/trunk/src/mp3file.c

Modified: gtkpod/trunk/ChangeLog_detailed
===================================================================
--- gtkpod/trunk/ChangeLog_detailed     2007-07-15 13:26:21 UTC (rev 1648)
+++ gtkpod/trunk/ChangeLog_detailed     2007-07-15 13:46:51 UTC (rev 1649)
@@ -1,3 +1,8 @@
+2007-07-15 Michael Tiffany <tiffman at users.sourceforge.net>
+
+       * src/mp3file.c (mp3_get_track_lame_gapless): wasn't properly closing
+         files (bugfix).
+
 2007-07-14 Jorg Schuler <jcsjcs at users.sourceforge.net>
 
        * src/display_tracks.c (tm_set_search_column,

Modified: gtkpod/trunk/src/mp3file.c
===================================================================
--- gtkpod/trunk/src/mp3file.c  2007-07-15 13:26:21 UTC (rev 1648)
+++ gtkpod/trunk/src/mp3file.c  2007-07-15 13:46:51 UTC (rev 1649)
@@ -2354,6 +2354,7 @@
     /* total samples minus pre/postgap */
     gd->samplecount = totalframes * mysamplesperframe - gd->pregap - 
gd->postgap;
 
+    fclose (file);
     return TRUE;
 
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to