diff --git a/libavcodec/avfft.c b/libavcodec/avfft.c index 3ef076d222..999b5ed79a 100644 --- a/libavcodec/avfft.c +++ b/libavcodec/avfft.c @@ -130,6 +130,7 @@ av_cold void av_mdct_end(FFTContext *s) { if (s) { AVTXWrapper *w = (AVTXWrapper *)s; + av_tx_uninit(&w->ctx2); av_tx_uninit(&w->ctx); av_free(w); }