From 845fb839e825b60876ef2aceb97fa23c4f97cef4 Mon Sep 17 00:00:00 2001 From: John Emmas Date: Sun, 28 Aug 2016 10:23:57 +0100 Subject: [PATCH] Fix a crash when we display the 'Plugin Analysis' window (in a generic plugin GUI window) and then close the GUI --- gtk2_ardour/fft.cc | 4 ++-- 1 file 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); }