Ejemplo n.º 1
0
StructureManager::~StructureManager()
{
    for (int i = m_structureCount; i > 0; --i)
    {
		RemoveStructure(i - 1);
	}
    free(m_structures); m_structures = NULL;
    for(int i = 0; i < (int)folders.size(); i++)
    {
        free(folders[i]->folderStructs); folders[i]->folderStructs = NULL;
        free(folders[i]);
    }
}
Ejemplo n.º 2
0
StructureManager::~StructureManager()
{
    for (int i = m_structureCount; i > 0; --i)
	RemoveStructure(i - 1);
    free(m_structures);
}