[xiph-commits] r9576 - trunk/vorbis-tools/ogg123

giles at svn.xiph.org giles at svn.xiph.org
Sat Jul 16 15:36:07 PDT 2005


Author: giles
Date: 2005-07-16 15:36:06 -0700 (Sat, 16 Jul 2005)
New Revision: 9576

Modified:
   trunk/vorbis-tools/ogg123/ogg123.c
Log:
Fix a memory leak.


Modified: trunk/vorbis-tools/ogg123/ogg123.c
===================================================================
--- trunk/vorbis-tools/ogg123/ogg123.c	2005-07-16 21:28:13 UTC (rev 9575)
+++ trunk/vorbis-tools/ogg123/ogg123.c	2005-07-16 22:36:06 UTC (rev 9576)
@@ -8,7 +8,7 @@
  * THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE.    *
  * PLEASE READ THESE TERMS BEFORE DISTRIBUTING.                     *
  *                                                                  *
- * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2001                *
+ * THE Ogg123 SOURCE CODE IS (C) COPYRIGHT 2000-2005                *
  * by Stan Seibert <volsung at xiph.org> AND OTHER CONTRIBUTORS        *
  * http://www.xiph.org/                                             *
  *                                                                  *
@@ -184,6 +184,7 @@
     stats[6].enabled = 0;
     stats[7].enabled = 0;
   }
+  free(data_source_stats);
     
   /* Assume we need total time display, and let display_statistics()
      determine at what point it should be turned off during playback */



More information about the commits mailing list