mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2024-11-10 00:45:36 +00:00
minor FFT leak
This commit is contained in:
parent
c37e6e1bfd
commit
f014003593
@ -43,6 +43,7 @@ void GslFFT::resize(const Index size)
|
|||||||
{
|
{
|
||||||
if (size_ != size)
|
if (size_ != size)
|
||||||
{
|
{
|
||||||
|
clear();
|
||||||
size_ = size;
|
size_ = size;
|
||||||
wavetable_ = gsl_fft_complex_wavetable_alloc(size_);
|
wavetable_ = gsl_fft_complex_wavetable_alloc(size_);
|
||||||
workspace_ = gsl_fft_complex_workspace_alloc(size_);
|
workspace_ = gsl_fft_complex_workspace_alloc(size_);
|
||||||
|
Loading…
Reference in New Issue
Block a user