Hi all, Is it possible to re-use a pointer to a DOMElement* as follows xercesc::DOMElement* xercesElement=(xercesc::DOMElement*)Nlist_ProcessIndex->item(0); const XMLCh* ccharProcessIndex = xercesElement->getTextContent( ) ; xercesc::DOMElement* xercesElement=(xercesc::DOMElement*)Nlist_Sequence->item(0); const XMLCh* ccharSequence= xercesElement->getTextContent( ) ;
will it cause memory leaks?? should i delete or free (Pointer to DOMElement*) xercesElement?? will the use of XMLCh* as above cause memory leaks?? should i free or delete the (Pointer to XMLCh) XMLCh* variables... Thanks n Regards Sree Harsha Vardhana S.N --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
