[xiph-cvs] cvs commit: vorbis-tools/ogg123 oggvorbis_format.c

Segher Boessenkool segher at xiph.org
Thu Dec 27 16:22:37 PST 2001



segher      01/12/27 16:22:36

  Modified:    ogg123   oggvorbis_format.c
  Log:
  double free.

Revision  Changes    Path
1.3       +2 -2      vorbis-tools/ogg123/oggvorbis_format.c

Index: oggvorbis_format.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/ogg123/oggvorbis_format.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- oggvorbis_format.c	2001/12/19 02:52:54	1.2
+++ oggvorbis_format.c	2001/12/28 00:22:36	1.3
@@ -11,7 +11,7 @@
  *                                                                  *
  ********************************************************************
 
- last mod: $Id: oggvorbis_format.c,v 1.2 2001/12/19 02:52:54 volsung Exp $
+ last mod: $Id: oggvorbis_format.c,v 1.3 2001/12/28 00:22:36 segher Exp $
 
  ********************************************************************/
 
@@ -115,7 +115,7 @@
 
   if (ret < 0) {
     free(private);
-    free(source);
+/*    free(source);     nope.  caller frees. */ 
     return NULL;
   }
 

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list