fft-test: free buffers before exiting