compiler error, memory leak fixed