Author: damitha
Date: Mon Dec 10 01:14:33 2007
New Revision: 602817

URL: http://svn.apache.org/viewvc?rev=602817&view=rev
Log:
Fixing jira AXIS2C-822

Modified:
    webservices/axis2/trunk/c/samples/user_guide/clients/echo_rest.c
    
webservices/axis2/trunk/c/src/core/transport/http/util/http_transport_utils.c

Modified: webservices/axis2/trunk/c/samples/user_guide/clients/echo_rest.c
URL: 
http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/user_guide/clients/echo_rest.c?rev=602817&r1=602816&r2=602817&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/user_guide/clients/echo_rest.c (original)
+++ webservices/axis2/trunk/c/samples/user_guide/clients/echo_rest.c Mon Dec 10 
01:14:33 2007
@@ -146,5 +146,11 @@
         axis2_svc_client_free(svc_client, env);
         svc_client = NULL;
     }
+
+    if (env)
+    {
+        axutil_env_free((axutil_env_t *) env);
+        env = NULL;
+    }
     return 0;
 }

Modified: 
webservices/axis2/trunk/c/src/core/transport/http/util/http_transport_utils.c
URL: 
http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/util/http_transport_utils.c?rev=602817&r1=602816&r2=602817&view=diff
==============================================================================
--- 
webservices/axis2/trunk/c/src/core/transport/http/util/http_transport_utils.c 
(original)
+++ 
webservices/axis2/trunk/c/src/core/transport/http/util/http_transport_utils.c 
Mon Dec 10 01:14:33 2007
@@ -1332,7 +1332,7 @@
         om_doc = axiom_stax_builder_get_document(om_builder, env);
         root_node = axiom_document_build_all(om_doc, env);
         axiom_soap_body_add_child(def_body, env, root_node);
-
+        axiom_stax_builder_free_self(om_builder, env);
         return soap_envelope;
     }
     return NULL;



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to