Re: problem deleting memory allocated by transcode

2002-03-05 Thread David N Bertoni/Cambridge/IBM
ot;Florian Brugger" To: <[EMAIL PROTECTED]> Subject: problem deleting memory a

Re: problem deleting memory allocated by transcode

2002-03-05 Thread Joachim Achtzehnter
Florian Brugger wrote: > Deleting memory allocated by transcode does not seem to work for me: This is a FAQ: http://xml.apache.org/xerces-c/faq-parse.html#faq-26 Joachim -- work: [EMAIL PROTECTED] (http://www.netacquire.com) private: [EMAIL PROTECTED] (http://www.kraut.ca)

problem deleting memory allocated by transcode

2002-03-05 Thread Florian Brugger
Deleting memory allocated by transcode does not seem to work for me: DOMString string ("test"); char *ptr = string.transcode (); delete [] ptr; delete [] ptr causes a crash. Note that ptr does actually point to a char array containing "test". What am I doing wrong? Thank you for your help, Fl