Hi Mark, Tests are sucessful and your fix has done the job. No more memory leaks related to AxisTrace. Many thanks for the fix. Regards, Samisa...
On Thu, 20 Jan 2005 11:43:56 +0000, Mark Whitlock <[EMAIL PROTECTED]> wrote: > > > Hi Samisa, > I've fixed it. Please let me know how you get on testing it, > Mark > Mark Whitlock > IBM > > ----- Forwarded by Mark Whitlock/UK/IBM on 20/01/2005 11:42 ----- > > Samisa Abeysinghe > <samisa.abeysingh > [EMAIL PROTECTED]> > To > Apache AXIS C Developers List > 20/01/2005 11:07 <axis-c-dev@ws.apache.org> > cc > > Please respond to Subject > "Apache AXIS C Re: Fw: Help fix Memory leaks in > Developers List" AxisTrace class > > > Hi Mark, > Thank you for helping me out on this. > Please go ahead and fix this. I could test for leaks again once > you commit the fix. > > Regards, > Samisa... > > On Thu, 20 Jan 2005 10:25:31 +0000, Mark Whitlock > <[EMAIL PROTECTED]> wrote: > > > > > > Hi Samisa, > > g_traceEntrypoints only exists in libraries that are dynamically loaded > > (transport, xmlparser, etc) and contains the entrypoints for the trace > > methods in the axis client library. This avoids linking these libraries > > with the axis client library. So it needs to be freed when the library is > > unloaded - in the uninitializeLibrary method in > Axis2TransportInstantiator > > and others. It needs a AxisTrace::deleteTraceEntrypoints() implemented in > > AxisTrace.h (because AxisTrace.cpp isn't linked in to these other > > libraries) in #ifdef AXISTRACE_LIBRARY (so only these libraries will pick > > it up). > > I can fix this today if you could check my fix for memory leaks > afterwards, > > Thanks, > > Mark > > Mark Whitlock > > IBM > > > > ----- Forwarded by Mark Whitlock/UK/IBM on 20/01/2005 10:16 ----- > > > > Samisa Abeysinghe > > <samisa.abeysingh > > [EMAIL PROTECTED]> > > To > > Apache AXIS C Developers List > > 20/01/2005 05:03 <axis-c-dev@ws.apache.org> > > cc > > > > Please respond to Subject > > "Apache AXIS C Help fix Memory leaks in AxisTrace > > Developers List" class > > > > > > I have little idea on how to fox > > http://issues.apache.org/jira/browse/AXISCPP-391. > > > > I tried deleting g_traceEntrypoints in destructor as well as from > > within terminate() but with no luck. (Please see Jira issue for more > > details) I still see that the allocated memory is not being > > deallocated properly. > > > > Thanks, > > Samisa... > > > > > >