From 7b62bb2b8d3a823f0328b69ca292d0eddbf8713d Mon Sep 17 00:00:00 2001 From: Oliver Pfister Date: Thu, 5 Jul 2007 20:46:48 +0000 Subject: [PATCH] fix mem leak patch by Oliver Pfister: [oliver pfister gmx ch] Originally committed as revision 9490 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/huffyuv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/huffyuv.c b/libavcodec/huffyuv.c index d48c1e1..e759d1e 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]); } -- 2.7.4