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 da...@apache.org on 2006/02/28 07:20:27 UTC

svn commit: r381580 - /webservices/axis2/trunk/c/modules/core/description/param.c

Author: damitha
Date: Mon Feb 27 22:20:25 2006
New Revision: 381580

URL: http://svn.apache.org/viewcvs?rev=381580&view=rev
Log:
dup the param name

Modified:
    webservices/axis2/trunk/c/modules/core/description/param.c

Modified: webservices/axis2/trunk/c/modules/core/description/param.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/param.c?rev=381580&r1=381579&r2=381580&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/param.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/param.c Mon Feb 27 22:20:25 2006
@@ -104,8 +104,8 @@
         return NULL;        
     }
     
-    param_impl->name = name; /* shallow copy */
-    param_impl->value = value; /* shallow copy */
+    param_impl->name = AXIS2_STRDUP(name, env);
+    param_impl->value = value; /* shallow copy.*/
     param_impl->locked = AXIS2_FALSE;
     param_impl->type = AXIS2_TEXT_PARAM;
     param_impl->param_element = NULL;