InitTimerImpl did not check for NULL pointer when it alloc memory.