예제 #1
0
	UnicodeMap::~UnicodeMap()
	{
		if (m_seEncodingName)
			delete m_seEncodingName;

		if (m_eType == unicodeMapUser && m_pRanges)
		{
			MemUtilsFree(m_pRanges);
		}

		if (m_pEMaps)
		{
			MemUtilsFree(m_pEMaps);
		}

		m_oCS.DeleteCriticalSection();
	}
예제 #2
0
	Array::~Array()
	{
		for (int nIndex = 0; nIndex < m_nCount; ++nIndex)
			m_arrItems[nIndex].Free();
		MemUtilsFree(m_arrItems);
	}