summaryrefslogtreecommitdiff
path: root/gtk2_ardour/fft.cc
diff options
context:
space:
mode:
authorJohn Emmas <johne53@tiscali.co.uk>2016-08-28 10:23:57 +0100
committerJohn Emmas <johne53@tiscali.co.uk>2016-08-28 10:23:57 +0100
commit845fb839e825b60876ef2aceb97fa23c4f97cef4 (patch)
treefeba54375a740635bedb81cf950ed04aade6016a /gtk2_ardour/fft.cc
parenta3d2521b25a58d23fbc279a2f54540548e2cbc30 (diff)
Fix a crash when we display the 'Plugin Analysis' window (in a generic plugin GUI window) and then close the GUI
Diffstat (limited to 'gtk2_ardour/fft.cc')
-rw-r--r--gtk2_ardour/fft.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/fft.cc b/gtk2_ardour/fft.cc
index a4e34bf2aa..ec9af2fd3e 100644
--- a/gtk2_ardour/fft.cc
+++ b/gtk2_ardour/fft.cc
@@ -140,6 +140,6 @@ FFT::~FFT()
fftwf_destroy_plan(_plan);
free(_power_at_bin);
free(_phase_at_bin);
- free(_fftOutput);
- free(_fftInput);
+ fftwf_free(_fftOutput);
+ fftwf_free(_fftInput);
}