You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2006/03/10 03:03:45 UTC

svn commit: r384675 - in /webservices/axis2/trunk/c/modules/core/clientapi: call.c stub.c

Author: samisa
Date: Thu Mar  9 18:03:43 2006
New Revision: 384675

URL: http://svn.apache.org/viewcvs?rev=384675&view=rev
Log:
Fixed the memory leaks, also fixed the pointer assignment bug in call


Modified:
    webservices/axis2/trunk/c/modules/core/clientapi/call.c
    webservices/axis2/trunk/c/modules/core/clientapi/stub.c

Modified: webservices/axis2/trunk/c/modules/core/clientapi/call.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/clientapi/call.c?rev=384675&r1=384674&r2=384675&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/call.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/call.c Thu Mar  9 18:03:43 2006
@@ -241,6 +241,7 @@
     call_impl->call.ops->invoke_blocking = axis2_call_invoke_blocking;
     call_impl->call.ops->invoke_blocking_with_om = axis2_call_invoke_blocking_with_om;
     call_impl->call.ops->invoke_blocking_with_soap = axis2_call_invoke_blocking_with_soap;
+    call_impl->call.ops->invoke_non_blocking = axis2_call_invoke_non_blocking;
     call_impl->call.ops->invoke_non_blocking_with_om = axis2_call_invoke_non_blocking_with_om;
     call_impl->call.ops->invoke_non_blocking_with_soap = axis2_call_invoke_non_blocking_with_soap;
     call_impl->call.ops->create_op_fill_flow = axis2_call_create_op_fill_flow;

Modified: webservices/axis2/trunk/c/modules/core/clientapi/stub.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/clientapi/stub.c?rev=384675&r1=384674&r2=384675&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/stub.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/stub.c Thu Mar  9 18:03:43 2006
@@ -348,6 +348,12 @@
         axis2_hash_free(stub_impl->property_map, env);
         stub_impl->property_map = NULL;
     }
+
+    if (stub_impl->modules)
+    {
+        AXIS2_ARRAY_LIST_FREE(stub_impl->modules, env);
+        stub_impl->modules = NULL;
+    }
     
     if(stub_impl)
     {