aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-07-10 09:14:19 +0000
committerMartin Storsjö <martin@martin.st>2010-07-10 09:14:19 +0000
commit771c86c13d7133035e53f7aeb14407ae5dca6453 (patch)
treef2f40df70aa7f4c24dcd29b751d47f634069efbb
parentb576934d7e37f8ca0431bc8df112fd18af4573bf (diff)
downloadffmpeg-771c86c13d7133035e53f7aeb14407ae5dca6453.tar.gz
Fix a leak in the AAC encoder
Originally committed as revision 24159 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/psymodel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/psymodel.c b/libavcodec/psymodel.c
index f87dbcf277..a85c29baaa 100644
--- a/libavcodec/psymodel.c
+++ b/libavcodec/psymodel.c
@@ -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);
}