Browse Source

avcodec/mlpenc: fix small memory leak

tags/n4.3
Paul B Mahol 6 years ago
parent
commit
c35382aaf4
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/mlpenc.c

+ 1
- 0
libavcodec/mlpenc.c View 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;


Loading…
Cancel
Save