void MemoryManager::deleteRootMaps() { if (m_objectRoots) { smart_delete(m_objectRoots); m_objectRoots = nullptr; } if (m_resourceRoots) { smart_delete(m_resourceRoots); m_resourceRoots = nullptr; } }
Vxls::~Vxls() { for (auto ivl : intervals) { for (Interval* next; ivl; ivl = next) { next = ivl->next; smart_delete(ivl); } } }