Mercurial > libavcodec.hg
diff vp6.c @ 11342:8d23ea397dda libavcodec
Plug some memory leaks in the VP6 decoder
author | vitor |
---|---|
date | Wed, 03 Mar 2010 17:24:32 +0000 |
parents | 8332746a9db9 |
children | 7d9a1a807e91 |
line wrap: on
line diff
--- a/vp6.c Wed Mar 03 16:47:40 2010 +0000 +++ b/vp6.c Wed Mar 03 17:24:32 2010 +0000 @@ -227,6 +227,7 @@ 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);