Anurag Jain wrote:
Boris,

I corrected the missing delete []buf ; that you pointed out but that does not 
help on solaris as expected.

Alberto / Boris , Since there is an issue with this code on Solaris ? , can you suggest any alternative xerces APIs/code snippet to get the same DOMDocument::importNode functionality that possibly will prevent the leak.
As both Alberto and Boris stated, this is not a leak. Solaris probably has different memory caching algorithm for the C/C++ run-time heap.

Perhaps you should do some research on Sun's web site to see if there are any system APIs that control this behavior.

Dave

Reply via email to