Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

cavs: fix memleak

Fixes Ticket1335

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
  • Loading branch information...
commit e40f7f1e01f009637a37d3f5ad6e20c7e634153a 1 parent c794acc
@michaelni michaelni authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  libavcodec/cavs.c
View
2  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]);

0 comments on commit e40f7f1

Please sign in to comment.
Something went wrong with that request. Please try again.