axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r381302 - /webservices/axis2/trunk/c/modules/core/context/msg_ctx.c
Date Mon, 27 Feb 2006 09:33:13 GMT
Author: samisa
Date: Mon Feb 27 01:33:07 2006
New Revision: 381302

URL: http://svn.apache.org/viewcvs?rev=381302&view=rev
Log:
More memory leak fixes by calling the correct free methods

Modified:
    webservices/axis2/trunk/c/modules/core/context/msg_ctx.c

Modified: webservices/axis2/trunk/c/modules/core/context/msg_ctx.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/context/msg_ctx.c?rev=381302&r1=381301&r2=381302&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/context/msg_ctx.c (original)
+++ webservices/axis2/trunk/c/modules/core/context/msg_ctx.c Mon Feb 27 01:33:07 2006
@@ -618,13 +618,13 @@
     
     if (msg_ctx_impl->base)
     {
-        AXIS2_FREE((*env)->allocator, msg_ctx_impl->base);
+        AXIS2_CTX_FREE(msg_ctx_impl->base, env);
         msg_ctx_impl->base = NULL;
     }
     
     if (msg_ctx_impl->msg_info_headers)
     {
-        AXIS2_FREE((*env)->allocator, msg_ctx_impl->msg_info_headers);
+        AXIS2_MSG_INFO_HEADERS_FREE(msg_ctx_impl->msg_info_headers, env);
         msg_ctx_impl->msg_info_headers = NULL;
     }
 



Mime
View raw message