my code is:
char *p = s.transcode();
cout << p;
delete [] p;
[EMAIL PROTECTED] wrote:
1. printing a DOMString
The "<<" operator has been overloaded in the DOMPrint example
and UMR is encountered in the following line:
char *p = s.transcode();
--> delete[] p;Regards,
Peiyong Zhang
____________________________________________
XML Parsers Development
IBM Toronto Laboratory email: [EMAIL PROTECTED]
Phone: (416)448-4088; Fax: (416)448-4414; T/L: 778-4088Pallavi Mahajan <[EMAIL PROTECTED]>@baypackets.com on
05/17/2001 06:57:07 PMPlease respond to [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
cc:
Subject: memory leaks in DOMString and DOM_DocumentHi,
Testing for memory leaks, UMR (Uninitialized Memory Read) was encountered
for:1. printing a DOMString
The "<<" operator has been overloaded in the DOMPrint example
and UMR is encountered in the following line:
char *p = s.transcode();2. creating a Document
UMR is encountered in the following line:
DOM_Document doc = impl.createDocument(0, rootElementName,
DOM_DocumentType());How do we solve the above problems?
Regards,
Pallavi.--
..........................................................dOUbt Is nOt A plEAsAnt cOndItIOn, bUt cErtAInty Is AbsUrd
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-- .......................................................... dOUbt Is nOt A plEAsAnt cOndItIOn, bUt cErtAInty Is AbsUrd
