mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/mlpenc: fix small memory leak
This commit is contained in:
parent
49cfbedb9d
commit
c35382aaf4
|
@ -2373,6 +2373,7 @@ static av_cold int mlp_encode_close(AVCodecContext *avctx)
|
||||||
av_freep(&ctx->decoding_params);
|
av_freep(&ctx->decoding_params);
|
||||||
av_freep(&ctx->channel_params);
|
av_freep(&ctx->channel_params);
|
||||||
av_freep(&ctx->frame_size);
|
av_freep(&ctx->frame_size);
|
||||||
|
av_freep(&ctx->max_output_bits);
|
||||||
ff_af_queue_close(&ctx->afq);
|
ff_af_queue_close(&ctx->afq);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue