mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-10-07 02:16:19 +02:00
Fix a leak in the AAC encoder
Originally committed as revision 24159 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
b576934d7e
commit
771c86c13d
@ -123,5 +123,6 @@ av_cold void ff_psy_preprocess_end(struct FFPsyPreprocessContext *ctx)
|
|||||||
for (i = 0; i < ctx->avctx->channels; i++)
|
for (i = 0; i < ctx->avctx->channels; i++)
|
||||||
ff_iir_filter_free_state(ctx->fstate[i]);
|
ff_iir_filter_free_state(ctx->fstate[i]);
|
||||||
av_freep(&ctx->fstate);
|
av_freep(&ctx->fstate);
|
||||||
|
av_free(ctx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user