diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-08-08 01:06:22 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-08 01:14:18 +0200 |
commit | e40f7f1e01f009637a37d3f5ad6e20c7e634153a (patch) | |
tree | 90b72a85f74e0280797bf620e345e83605b16bfa | |
parent | c794acc44eea653df1c95bb19342d8f6e163781c (diff) | |
download | ffmpeg-e40f7f1e01f009637a37d3f5ad6e20c7e634153a.tar.gz |
cavs: fix memleak
Fixes Ticket1335
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/cavs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/cavs.c b/libavcodec/cavs.c index b6dcd2e4ec..416bdced03 100644 --- a/libavcodec/cavs.c +++ b/libavcodec/cavs.c @@ -701,6 +701,8 @@ av_cold int ff_cavs_init(AVCodecContext *avctx) { av_cold int ff_cavs_end(AVCodecContext *avctx) { AVSContext *h = avctx->priv_data; + ff_MPV_common_end(&h->s); + av_free(h->top_qp); av_free(h->top_mv[0]); av_free(h->top_mv[1]); |