changeset 12125:a93946f63075 libavcodec

Fix a leak in the AAC encoder
author mstorsjo
date Sat, 10 Jul 2010 09:14:19 +0000
parents 11b27985b3d0
children 3581c6b92f70
files psymodel.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/psymodel.c	Sat Jul 10 07:55:06 2010 +0000
+++ b/psymodel.c	Sat Jul 10 09:14:19 2010 +0000
@@ -123,5 +123,6 @@
         for (i = 0; i < ctx->avctx->channels; i++)
             ff_iir_filter_free_state(ctx->fstate[i]);
     av_freep(&ctx->fstate);
+    av_free(ctx);
 }