diff options
author | Michael Niedermayer | 2015-11-28 01:00:54 +0100 |
---|---|---|
committer | Michael Niedermayer | 2015-11-28 01:01:41 +0100 |
commit | 861f2b2a536b4bdc97cd4f4f14fcb08b957fe690 (patch) | |
tree | 7300e0e8e16467802b3ed248d2cb78e9dd088ad2 /libavcodec/vp3.c | |
parent | 6105b7219a90438deae71b0dc5a034c71ee30fc0 (diff) |
avcodec/vp3: Fix several memleaks
Fixes: 1536b9b096a8f95b742bae9d3d761cc6/signal_sigsegv_294aaed_4460_b209bd1e7cebe458b53072a44191316d.ogg
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/vp3.c')
-rw-r--r-- | libavcodec/vp3.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index 28f0569d55..1d4c575bd3 100644 --- a/libavcodec/vp3.c +++ b/libavcodec/vp3.c @@ -2025,6 +2025,7 @@ static int vp3_decode_frame(AVCodecContext *avctx, } return ret; } else if (type == 2) { + vp3_decode_end(avctx); ret = theora_decode_tables(avctx, &gb); if (ret >= 0) ret = vp3_decode_init(avctx); |