diff options
-rw-r--r-- | common/fft.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/fft.cpp b/common/fft.cpp index 477f7aca62..27a04abb6a 100644 --- a/common/fft.cpp +++ b/common/fft.cpp @@ -56,6 +56,10 @@ FFT::FFT(int bits, int inverse) : _bits(bits), _inverse(inverse) { } FFT::~FFT() { + for (int i = 0; i < ARRAYSIZE(_cosTables); i++) { + delete _cosTables[i]; + } + delete[] _revTab; delete[] _expTab; delete[] _tmpBuf; |