diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-06-10 08:49:20 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-06-10 08:49:20 +0200 |
commit | 45c2d54e57bd26ef91d1dd1f011a17f20623443a (patch) | |
tree | 8a99c44254432b160fc1992adad987d9ef9ed659 /src | |
parent | 8c3b37a76abccf8851e2fccfd1c218d71cbee44d (diff) | |
download | dabmod-45c2d54e57bd26ef91d1dd1f011a17f20623443a.tar.gz dabmod-45c2d54e57bd26ef91d1dd1f011a17f20623443a.tar.bz2 dabmod-45c2d54e57bd26ef91d1dd1f011a17f20623443a.zip |
Do not free FFTW plan before calling destroy
Fixes segmentation fault in the Resampler destructor
Diffstat (limited to 'src')
-rw-r--r-- | src/Resampler.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Resampler.cpp b/src/Resampler.cpp index 38fea33..50e1897 100644 --- a/src/Resampler.cpp +++ b/src/Resampler.cpp @@ -112,8 +112,6 @@ Resampler::~Resampler() { PDEBUG("Resampler::~Resampler() @ %p\n", this); - if (myFftPlan1 != NULL) { fftwf_free(myFftPlan1); } - if (myFftPlan2 != NULL) { fftwf_free(myFftPlan2); } if (myFftIn != NULL) { fftwf_free(myFftIn); } if (myFftOut != NULL) { fftwf_free(myFftOut); } if (myBufferIn != NULL) { fftwf_free(myBufferIn); } |