Hi David.  I commented out everything from
XMLPlatformUtils::Initialize() to XMLPlatformUtils::Terminate() in
TransformToXercesDOM.cpp.

If I called XalanTransformer::ICUCleanUp() immediately after
XMLPlatformUtils::Terminate(), there were no memory leaks.  If I comment
out that call to XalanTransformer::ICUCleanUp(), I get memory leaks.

- Phil

-----Original Message-----
From: David Bertoni [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 01, 2006 2:03 PM
To: [email protected]
Subject: Re: (TRY 2) RE: NT Xalan memory leak detected in debug version
of sample program TransformToXercesDOM; release does not report leak

Schlesinger, Philip wrote:
> Hi all.  I didn't receive a response for a week - I'm guessing I was 
> just lost in the shuffle... - Phil
> 

I have not had time to attempt to reproduce this, but you could do
further testing by simply disabling all of the Xalan-specific code in
the sample, and just call XMLPlatformUtils::Initialize() and
XMLPlatformUtils::Terminate(), to determine if the leak is in Xerces-C.

Dave


Reply via email to