axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <samisa.abeysin...@gmail.com>
Subject Re: Fw: Help fix Memory leaks in AxisTrace class
Date Thu, 20 Jan 2005 11:07:14 GMT
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
<mark_whitlock@uk.ibm.com> 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
>             e@gmail.com>                                               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...
> 
>

Mime
View raw message