Skip to content

Commit

Permalink
ZamNoise: Add missing fftw_cleanup()
Browse files Browse the repository at this point in the history
  • Loading branch information
zamaudio committed Apr 27, 2024
1 parent 7a1716c commit 057e9d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/ZamNoise/Denoise.cpp
Expand Up @@ -211,6 +211,7 @@ Denoise::~Denoise() {
FFTW(destroy_plan)(pForNoise);
FFTW(destroy_plan)(pBak);
FFTW(destroy_plan)(pFor);
FFTW(cleanup)();
}

void Denoise::get_noise_sample(float* noisebuffer, fftw_real *noise_min, fftw_real *noise_max)
Expand Down

0 comments on commit 057e9d6

Please sign in to comment.