Fix some resource leaks in fftlib.c
Merge pull request #28 from megari/fft_mem_leak_fix

Fix some resource leaks in fftlib.c