From b6aff27ebd3b17c5cc8015058e4ecfdd8a370df4 Mon Sep 17 00:00:00 2001 From: Robin Getz Date: Tue, 27 Oct 2026 23:51:24 -0400 Subject: [PATCH] sdrbase/dsp: Fix copy-paste error in inverse FFT preallocation Fix Coverity CID 652581 by calling setReuse(false) on the inverse FFT engine instead of the forward FFT engine. Signed-off-by: Robin Getz --- sdrbase/dsp/fftfactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdrbase/dsp/fftfactory.cpp b/sdrbase/dsp/fftfactory.cpp index 28e5804ea..84427d1a9 100644 --- a/sdrbase/dsp/fftfactory.cpp +++ b/sdrbase/dsp/fftfactory.cpp @@ -65,7 +65,7 @@ void FFTFactory::preallocate( { invFFTEngines.push_back(AllocatedEngine()); invFFTEngines.back().m_engine = FFTEngine::create(m_fftwWisdomFileName); - fftEngines.back().m_engine->setReuse(false); + invFFTEngines.back().m_engine->setReuse(false); invFFTEngines.back().m_engine->configure(fftSize, true); } }