Fixed memory leak in nfft