[xiph-cvs] cvs commit: ogg/src framing.c

Michael Smith msmith at xiph.org
Thu Nov 15 05:11:12 PST 2001



msmith      01/11/15 05:11:11

  Modified:    src      framing.c
  Log:
  Fixed another missing _ogg_ on a free() call, pointed out by Warren Spitz.
  Forgot to check libogg when I was checking for these yesterday...

Revision  Changes    Path
1.16      +2 -2      ogg/src/framing.c

Index: framing.c
===================================================================
RCS file: /usr/local/cvsroot/ogg/src/framing.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- framing.c	2001/10/02 00:15:03	1.15
+++ framing.c	2001/11/15 13:11:10	1.16
@@ -12,7 +12,7 @@
 
  function: code raw [Vorbis] packets into framed OggSquish stream and
            decode Ogg streams back into raw packets
- last mod: $Id: framing.c,v 1.15 2001/10/02 00:15:03 segher Exp $
+ last mod: $Id: framing.c,v 1.16 2001/11/15 13:11:10 msmith Exp $
 
  note: The CRC code is directly derived from public domain code by
  Ross Williams (ross at guest.adelaide.edu.au).  See docs/framing.html
@@ -828,7 +828,7 @@
 }
 
 void ogg_packet_clear(ogg_packet *op) {
-  free(op->packet);
+  _ogg_free(op->packet);
   memset(op, 0, sizeof(*op));
 }
 

--- >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