diff mbox series

[FFmpeg-devel,1/3] avcodec/fft: Do not uninit never initialized ctx2

Message ID 20231112151144.2307049-2-sramacher@debian.org
State New
Headers show
Series Fix invalid frees, segfaults and memory leaks in avcodec/fft wrappers | expand

Checks

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

Commit Message

Sebastian Ramacher Nov. 12, 2023, 3:11 p.m. UTC
---
 libavcodec/avfft.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/libavcodec/avfft.c b/libavcodec/avfft.c
index fb635abfff..93203228c2 100644
--- a/libavcodec/avfft.c
+++ b/libavcodec/avfft.c
@@ -76,7 +76,6 @@  av_cold void av_fft_end(FFTContext *s)
     if (s) {
         AVTXWrapper *w = (AVTXWrapper *)s;
         av_tx_uninit(&w->ctx);
-        av_tx_uninit(&w->ctx2);
         av_free(w);
     }
 }