ffmpeg | branch: master | Paul B Mahol <one...@gmail.com> | Tue Feb  4 11:35:02 
2020 +0100| [c35382aaf471d5ba88648f22cc182b2b09b7d7fa] | committer: Paul B Mahol

avcodec/mlpenc: fix small memory leak

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c35382aaf471d5ba88648f22cc182b2b09b7d7fa
---

 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;

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to