+++ ./libavcodec/psymodel.c     
@@ -126,5 +126,6 @@
         for (i = 0; i < ctx->avctx->channels; i++)
             ff_iir_filter_free_state(ctx->fstate[i]);
     av_freep(&ctx->fstate);
+    av_free(ctx);
 }