]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/mlpenc: fix small memory leak
authorPaul B Mahol <onemda@gmail.com>
Tue, 4 Feb 2020 10:35:02 +0000 (11:35 +0100)
committerPaul B Mahol <onemda@gmail.com>
Tue, 4 Feb 2020 10:35:02 +0000 (11:35 +0100)
libavcodec/mlpenc.c

index a9501c694f50852f370265bee906c5846b3c81c8..c6a7963c2223c4d654e12f8625bc1078b297d30f 100644 (file)
@@ -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;