Minor fix for ctTimer & Memmory leaks