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(); }
Array::~Array() { for (int nIndex = 0; nIndex < m_nCount; ++nIndex) m_arrItems[nIndex].Free(); MemUtilsFree(m_arrItems); }