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 sh...@apache.org on 2009/01/05 09:58:35 UTC

svn commit: r731496 - /webservices/axis2/trunk/c/src/core/clientapi/svc_client.c

Author: shankar
Date: Mon Jan  5 00:58:35 2009
New Revision: 731496

URL: http://svn.apache.org/viewvc?rev=731496&view=rev
Log:
Fix for issue AXIS2C-1309

Modified:
    webservices/axis2/trunk/c/src/core/clientapi/svc_client.c

Modified: webservices/axis2/trunk/c/src/core/clientapi/svc_client.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/clientapi/svc_client.c?rev=731496&r1=731495&r2=731496&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/clientapi/svc_client.c (original)
+++ webservices/axis2/trunk/c/src/core/clientapi/svc_client.c Mon Jan  5 00:58:35 2009
@@ -1573,7 +1573,9 @@
         host_attr = axiom_attribute_create(env, AXIS2_HTTP_PROXY_HOST, proxy_host, NULL);
         port_attr = axiom_attribute_create(env, AXIS2_HTTP_PROXY_PORT, proxy_port, NULL);
         axutil_generic_obj_set_value(host_obj, env, host_attr);
+        axutil_generic_obj_set_free_func(host_obj, env, axiom_attribute_free_void_arg);
         axutil_generic_obj_set_value(port_obj, env, port_attr);
+        axutil_generic_obj_set_free_func(port_obj, env, axiom_attribute_free_void_arg);
 
         axutil_hash_set(attribute, AXIS2_HTTP_PROXY_HOST, AXIS2_HASH_KEY_STRING,
                         host_obj);
@@ -1587,6 +1589,8 @@
                 password_attr = axiom_attribute_create(env, AXIS2_HTTP_PROXY_PASSWORD, password, NULL);
                 axutil_generic_obj_set_value(username_obj, env, username_attr);
                 axutil_generic_obj_set_value(password_obj, env, password_attr);
+                axutil_generic_obj_set_free_func(username_obj, env, axiom_attribute_free_void_arg);
+                axutil_generic_obj_set_free_func(password_obj, env, axiom_attribute_free_void_arg);
                 axutil_hash_set(attribute, AXIS2_HTTP_PROXY_USERNAME, AXIS2_HASH_KEY_STRING,
                                 username_obj);
                 axutil_hash_set(attribute, AXIS2_HTTP_PROXY_PASSWORD, AXIS2_HASH_KEY_STRING,