Fix fft_buffer memory leak