axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r381580 - /webservices/axis2/trunk/c/modules/core/description/param.c
Date Tue, 28 Feb 2006 06:20:27 GMT
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;



Mime
View raw message