You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2006/03/24 11:34:32 UTC

svn commit: r388483 - /webservices/axis2/trunk/c/modules/core/addr/msg_info_headers.c

Author: sahan
Date: Fri Mar 24 02:34:30 2006
New Revision: 388483

URL: http://svn.apache.org/viewcvs?rev=388483&view=rev
Log:
more mem leak fixes

Modified:
    webservices/axis2/trunk/c/modules/core/addr/msg_info_headers.c

Modified: webservices/axis2/trunk/c/modules/core/addr/msg_info_headers.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/addr/msg_info_headers.c?rev=388483&r1=388482&r2=388483&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/addr/msg_info_headers.c (original)
+++ webservices/axis2/trunk/c/modules/core/addr/msg_info_headers.c Fri Mar 24 02:34:30 2006
@@ -511,6 +511,16 @@
         AXIS2_ENDPOINT_REF_FREE(msg_info_headers_impl->to, env);
         msg_info_headers_impl->to = NULL;
     }
+    if (msg_info_headers_impl->reply_to)
+    {
+        AXIS2_ENDPOINT_REF_FREE(msg_info_headers_impl->reply_to, env);
+        msg_info_headers_impl->reply_to = NULL;
+    }
+    if (msg_info_headers_impl->relates_to)
+    {
+        AXIS2_ENDPOINT_REF_FREE(msg_info_headers_impl->relates_to, env);
+        msg_info_headers_impl->relates_to = NULL;
+    }
     if (msg_info_headers_impl->msg_info_headers.ops)
     {
         AXIS2_FREE((*env)->allocator, msg_info_headers_impl->msg_info_headers.ops);