diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2010-03-03 17:24:32 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2010-03-03 17:24:32 +0000 |
commit | 0a41faa9a77dc83d8d933e99f1ba902ecd146e79 (patch) | |
tree | 0e0b15179b6f3b6686789f58049878b58912549a /libavcodec/vp6.c | |
parent | d7f5e520bf18cfe0f288bee6c1004b715c32365e (diff) | |
download | ffmpeg-0a41faa9a77dc83d8d933e99f1ba902ecd146e79.tar.gz |
Plug some memory leaks in the VP6 decoder
Originally committed as revision 22172 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp6.c')
-rw-r--r-- | libavcodec/vp6.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/vp6.c b/libavcodec/vp6.c index de98e61e6e..8bb60ede27 100644 --- a/libavcodec/vp6.c +++ b/libavcodec/vp6.c @@ -227,6 +227,7 @@ static void vp6_build_huff_tree(VP56Context *s, uint8_t coeff_model[], nodes[map[2*i+1]].count = b + !b; } + free_vlc(vlc); /* then build the huffman tree accodring to probabilities */ ff_huff_build_tree(s->avctx, vlc, size, nodes, vp6_huff_cmp, FF_HUFFMAN_FLAG_HNODE_FIRST); |