Hi Raman,
you can backport changes from 2.8 to 2.6, but you must be sure you are doing the right thing; a better approach would be using your tool (Purify?) to find out where the leak is created, and either fixing it in your copy of Xerces, or digging in the commit history for that file to locate the changeset that fixed it.

Alberto

Ramanjaneyulu malisetti wrote:

Hi Alberto,
Yes I do. I read in forums that there are many memory leaks fixed after 2.6.0. Are they related to this scenario. I did diff of 2.6 and 2.8 source code. I see at many places memory is alloced and dealloced through fMemoryManager. If this can address this issue. Merging relavent sections of code from 2.8 to 2.6 make sense? Regards
Raman

> Date: Thu, 27 Dec 2007 15:41:22 +0100
> From: [EMAIL PROTECTED]
> To: [email protected]
> Subject: Re: XMLPlatformUtils::Initialize - Memory leaks
>
> Hi Raman,
> do you call XMLPlatformUtils::Terminate before your program ends?
>
> Alberto
>
> Ramanjaneyulu malisetti wrote:
> > Hi,
> >
> > We are using Xerces-2.6.0 for XML parsing. Purifier shows many
> > memory leaks in XMLPlatformUtils::Initialize(). I understand from
> > forum that many leaks are fixed in latest version of Xerces. We can
> > not afford moving to latest release of xerces.
> >
> > Can anybody help us what is the best approach to merge any fixes
> > related to memory leaks back to 2.6.0.
> >
> > Regards
> > Raman
> >
>
>
> ---------------------------------------------------------------------
> 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