Fix a leak in the AAC encoder

Originally committed as revision 24159 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Martin Storsjö 2010-07-10 09:14:19 +00:00
parent b576934d7e
commit 771c86c13d
1 changed files with 1 additions and 0 deletions

View File

@ -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);
} }