aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mlpenc.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2020-02-04 11:35:02 +0100
committerPaul B Mahol <onemda@gmail.com>2020-02-04 11:35:02 +0100
commitc35382aaf471d5ba88648f22cc182b2b09b7d7fa (patch)
tree380d9c9dd3ebac35c62c1d5839d796ab70d5ee57 /libavcodec/mlpenc.c
parent49cfbedb9d5a35d4701b37e9908172807eb67100 (diff)
downloadffmpeg-c35382aaf471d5ba88648f22cc182b2b09b7d7fa.tar.gz
avcodec/mlpenc: fix small memory leak
Diffstat (limited to 'libavcodec/mlpenc.c')
-rw-r--r--libavcodec/mlpenc.c1
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;