Removed manual memory allocation in FPL interfacing code