diff options
author | Paul B Mahol <onemda@gmail.com> | 2020-02-04 13:35:02 +0300 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2020-02-04 13:35:02 +0300 |
commit | c35382aaf471d5ba88648f22cc182b2b09b7d7fa (patch) | |
tree | 380d9c9dd3ebac35c62c1d5839d796ab70d5ee57 /libavcodec/mlpenc.c | |
parent | 49cfbedb9d5a35d4701b37e9908172807eb67100 (diff) |
avcodec/mlpenc: fix small memory leak
Diffstat (limited to 'libavcodec/mlpenc.c')
-rw-r--r-- | libavcodec/mlpenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mlpenc.c b/libavcodec/mlpenc.c index a9501c694f..c6a7963c22 100644 --- a/libavcodec/mlpenc.c +++ b/libavcodec/mlpenc.c @@ -2373,6 +2373,7 @@ static av_cold int mlp_encode_close(AVCodecContext *avctx) av_freep(&ctx->decoding_params); av_freep(&ctx->channel_params); av_freep(&ctx->frame_size); + av_freep(&ctx->max_output_bits); ff_af_queue_close(&ctx->afq); return 0; |