Bug Fix: Zero out DFT state pointer on free

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
Christopher Snowhill 2025-06-13 17:22:55 -07:00
parent 6340b08308
commit b693c946b8

View file

@ -123,4 +123,5 @@ void fft_free(void) {
_dftBuffer.imagp = NULL; _dftBuffer.imagp = NULL;
_window = NULL; _window = NULL;
_rawSpectrum = NULL; _rawSpectrum = NULL;
_dftSetup = NULL;
} }