summaryrefslogtreecommitdiff
path: root/src
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
commitca9b159f8b260b1e0fbd0f0f55540d64ebe198e9 (patch)
tree4379da42a4ee51715e7519ad7f675dae69f208d8 /src
parent5cf70d0d1ac9db86cb34804ac5a89881720b4258 (diff)
downloadogg-ca9b159f8b260b1e0fbd0f0f55540d64ebe198e9.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... git-svn-id: http://svn.xiph.org/trunk/ogg@2372 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'src')
-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));
}