Free the temporary buffer in BufferManager::GetFFTOutput() to save the memory.
Delete some unused code for buffermanager.cpp