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 da...@apache.org on 2006/01/12 09:50:02 UTC
svn commit: r368314 -
/webservices/axis2/trunk/c/test/core/clientapi/test_clientapi.c
Author: damitha
Date: Thu Jan 12 00:49:54 2006
New Revision: 368314
URL: http://svn.apache.org/viewcvs?rev=368314&view=rev
Log:
freed allocated memory
Modified:
webservices/axis2/trunk/c/test/core/clientapi/test_clientapi.c
Modified: webservices/axis2/trunk/c/test/core/clientapi/test_clientapi.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/core/clientapi/test_clientapi.c?rev=368314&r1=368313&r2=368314&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/core/clientapi/test_clientapi.c (original)
+++ webservices/axis2/trunk/c/test/core/clientapi/test_clientapi.c Thu Jan 12 00:49:54 2006
@@ -45,14 +45,24 @@
call = axis2_call_create(&env, svc_ctx);
msg_ctx = axis2_msg_ctx_create(&env, conf_ctx, NULL, NULL);
-
- msg_ctx_res = axis2_call_invoke_blocking(call, &env, op, msg_ctx);
+
+ msg_ctx_res = AXIS2_CALL_INVOKE_BLOCKING(call, &env, op, msg_ctx);
if (msg_ctx_res)
printf("axis2_test_call_invoke_blocking SUCCESS\n");
else
printf("axis2_test_call_invoke_blocking FAILURE\n");
-
+
+ AXIS2_CONF_CTX_FREE(conf_ctx, &env);
+ AXIS2_CONF_FREE(conf, &env);
+ AXIS2_MSG_CTX_FREE(msg_ctx, &env);
+ AXIS2_QNAME_FREE(qname, &env);
+ AXIS2_SVC_GRP_CTX_FREE(svc_grp_ctx, &env);
+ AXIS2_SVC_CTX_FREE(svc_ctx, &env);
+ AXIS2_SVC_FREE(svc, &env);
+ AXIS2_OP_FREE(op, &env);
+ AXIS2_CALL_FREE(call, &env);
+
}
int main()