delete [] pTransCodeString;
void CContentHandler::characters( const XMLCh* const chars , const unsigned int length) { char *pTransCodeString = XMLString::transcode(chars); CString tempString(pTransCodeString); delete [] pTransCodeString; m_lastChars += tempString; }
Is there any other way to write in 2017?
XMLString::release(&pTransCodeString);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)