Commit 771c86c1 authored by Martin Storsjö's avatar Martin Storsjö

Fix a leak in the AAC encoder

Originally committed as revision 24159 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b576934d
......@@ -123,5 +123,6 @@ av_cold void ff_psy_preprocess_end(struct FFPsyPreprocessContext *ctx)
for (i = 0; i < ctx->avctx->channels; i++)
ff_iir_filter_free_state(ctx->fstate[i]);
av_freep(&ctx->fstate);
av_free(ctx);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment