summaryrefslogtreecommitdiff
path: root/libavcodec/huffyuv.c
diff options
context:
space:
mode:
authorOliver Pfister <oliver.pfister@gmx.ch>2007-07-05 20:46:48 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2007-07-05 20:46:48 +0000
commit7b62bb2b8d3a823f0328b69ca292d0eddbf8713d (patch)
tree4dec0f5b1fa67cc5088dc97b0113819b2fc0ef44 /libavcodec/huffyuv.c
parentf225016296690eb405c42940392b30bed7d708b6 (diff)
downloadffmpeg-7b62bb2b8d3a823f0328b69ca292d0eddbf8713d.tar.gz
fix mem leak
patch by Oliver Pfister: [oliver pfister gmx ch] Originally committed as revision 9490 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/huffyuv.c')
-rw-r--r--libavcodec/huffyuv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/huffyuv.c b/libavcodec/huffyuv.c
index d48c1e1df2..e759d1ed8e 100644
--- a/libavcodec/huffyuv.c
+++ b/libavcodec/huffyuv.c
@@ -1218,7 +1218,7 @@ static int decode_end(AVCodecContext *avctx)
common_end(s);
av_freep(&s->bitstream_buffer);
- for(i=0; i<3; i++){
+ for(i=0; i<6; i++){
free_vlc(&s->vlc[i]);
}