Message ID | 20231112151144.2307049-4-sramacher@debian.org |
---|---|
State | New |
Headers | show |
Series | Fix invalid frees, segfaults and memory leaks in avcodec/fft wrappers | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/libavcodec/avfft.c b/libavcodec/avfft.c index 813b6d61a1..1b8d6f76c3 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); }