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/11/23 02:58:31 UTC

svn commit: r478435 - /webservices/axis2/trunk/c/samples/client/echo/echo.c

Author: samisa
Date: Wed Nov 22 17:58:30 2006
New Revision: 478435

URL: http://svn.apache.org/viewvc?view=rev&rev=478435
Log:
Bit of code cleaning was done

Modified:
    webservices/axis2/trunk/c/samples/client/echo/echo.c

Modified: webservices/axis2/trunk/c/samples/client/echo/echo.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/client/echo/echo.c?view=diff&rev=478435&r1=478434&r2=478435
==============================================================================
--- webservices/axis2/trunk/c/samples/client/echo/echo.c (original)
+++ webservices/axis2/trunk/c/samples/client/echo/echo.c Wed Nov 22 17:58:30 2006
@@ -104,7 +104,6 @@
             printf("\nReceived OM : %s\n", om_str);
         printf("\necho client invoke SUCCESSFUL!\n");
 
-        /*AXIOM_NODE_FREE_TREE(ret_node, env);*/
         AXIS2_FREE(env->allocator, om_str);
         ret_node = NULL;
     }
@@ -126,7 +125,6 @@
             printf("\nReceived OM : %s\n", om_str);
         printf("\necho client invoke SUCCESSFUL!\n");
 
-        /*AXIOM_NODE_FREE_TREE(ret_node2, env);*/
         AXIS2_FREE(env->allocator, om_str);
         ret_node2 = NULL;
     }
@@ -138,39 +136,17 @@
         printf("echo client invoke FAILED!\n");
     }
     
-    /*if (payload)
-    {
-        AXIOM_NODE_FREE_TREE(payload, env);
-        payload = NULL;
-    }*/
-
     if (svc_client)
     {
         AXIS2_SVC_CLIENT_FREE(svc_client, env);
         svc_client = NULL;
     }
 
-    /*if (endpoint_ref)
-    {
-        AXIS2_ENDPOINT_REF_FREE(endpoint_ref, env);
-        endpoint_ref = NULL;
-    }*/
-    /*if (env->allocator)
-    {
-        allocator = env->allocator;
-    }*/
-
     if (env)
     {
         axis2_env_free((axis2_env_t *) env);
         env = NULL;
     }
-
-    /*if (allocator)
-    {
-        AXIS2_FREE(allocator, allocator);
-        allocator = NULL;
-    }*/
 
     return 0;
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org