HTSmartObj correction. No more memory leaks