summaryrefslogtreecommitdiff
path: root/src/framing.c
diff options
context:
space:
mode:
authorMike Smith <msmith@xiph.org>2001-11-15 13:11:10 +0000
committerMike Smith <msmith@xiph.org>2001-11-15 13:11:10 +0000
commit2f3b2c73f1567e6a35746819985e6a1b5278db9a (patch)
tree4379da42a4ee51715e7519ad7f675dae69f208d8 /src/framing.c
parent77ca9d068bb12ddf5a933df6a3721c21086cc13e (diff)
downloadogg-git-2f3b2c73f1567e6a35746819985e6a1b5278db9a.tar.gz
Fixed another missing _ogg_ on a free() call, pointed out by Warren Spitz.
Forgot to check libogg when I was checking for these yesterday... svn path=/trunk/ogg/; revision=2372
Diffstat (limited to 'src/framing.c')
-rw-r--r--src/framing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/framing.c b/src/framing.c
index 18e2ac0..eb5e4a3 100644
--- a/src/framing.c
+++ b/src/framing.c
@@ -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@guest.adelaide.edu.au). See docs/framing.html
@@ -828,7 +828,7 @@ int ogg_stream_packetpeek(ogg_stream_state *os,ogg_packet *op){
}
void ogg_packet_clear(ogg_packet *op) {
- free(op->packet);
+ _ogg_free(op->packet);
memset(op, 0, sizeof(*op));
}