From c35382aaf471d5ba88648f22cc182b2b09b7d7fa Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 4 Feb 2020 11:35:02 +0100 Subject: [PATCH] avcodec/mlpenc: fix small memory leak --- libavcodec/mlpenc.c | 1 + 1 file changed, 1 insertion(+) 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;