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,

Florian Brugger





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to