]> git.sesse.net Git - ffmpeg/commitdiff
Fix a leak in the AAC encoder
authorMartin Storsjö <martin@martin.st>
Sat, 10 Jul 2010 09:14:19 +0000 (09:14 +0000)
committerMartin Storsjö <martin@martin.st>
Sat, 10 Jul 2010 09:14:19 +0000 (09:14 +0000)
Originally committed as revision 24159 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/psymodel.c

index f87dbcf2776f08905d4b1e1ad6181822e96ceeb2..a85c29baaad5af5626a7011c14e816d93be0e0de 100644 (file)
@@ -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);
 }