+ fixed memory leak in FunctionImpl structure