Browse Source

Fix a leak in the AAC encoder

Originally committed as revision 24159 to svn://svn.ffmpeg.org/ffmpeg/trunk
Martin Storsjö 14 years ago
parent
commit
771c86c13d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      libavcodec/psymodel.c

+ 1 - 0
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);
 }