Browse Source

cavs: fix memleak

Fixes Ticket1335

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.0
Michael Niedermayer 13 years ago
parent
commit
e40f7f1e01
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/cavs.c

+ 2
- 0
libavcodec/cavs.c View File

@@ -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]);


Loading…
Cancel
Save