Fix leaks in low res time module.