You are mixing runtimes. Read the FAQ.

/ Erik Rydgren

-----Original Message-----
From: Lyman Neuschaefer [mailto:[EMAIL PROTECTED]]
Sent: den 18 april 2001 16:48
To: '[EMAIL PROTECTED]'
Subject: Deallocating memory allocated by XMLString::transcode on Win32
platform


Greetings,

The documentation indicates that XMLString::transcode() dynamically
allocates
memory to contain the content of the returned buffer and that it's the
responsibility
of the user to deallocate such memory.  However, using delete and delete[]
cause
my application to fatal on an assert which insists that the memory be be
allocated
on a 'local' heap.  

With Rational Purify I have confirmed that failure to delete the return
value from 
transcode results in a memory leak.  How can I deallocate such memory on
win32?

Thanks for your help

Lyman Neuschaefer

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


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

Reply via email to