b4fdaa6a9ef4 — Chris Cannam 7 months ago
Fix memory leak
1 files changed, 2 insertions(+), 2 deletions(-)

M src/FFT.cpp
M src/FFT.cpp +2 -2
@@ 3028,8 3028,8 @@
          ~DFT() {
             deallocate_channels(m_tmp, 2);
-            deallocate_channels(m_sin, m_bins);
-            deallocate_channels(m_cos, m_bins);
+            deallocate_channels(m_sin, m_size);
+            deallocate_channels(m_cos, m_size);
         }
 
         void forward(const T *BQ_R__ realIn, T *BQ_R__ realOut, T *BQ_R__ imagOut) {