axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r374347 - /webservices/axis2/trunk/c/modules/core/description/param.c
Date Thu, 02 Feb 2006 10:48:39 GMT
Author: damitha
Date: Thu Feb  2 02:48:34 2006
New Revision: 374347

URL: http://svn.apache.org/viewcvs?rev=374347&view=rev
Log:
there was a but of not initializing a function pointer. so when
there is no services.xml file in a service server segfaults 
when trying to  free params.


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=374347&r1=374346&r2=374347&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/param.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/param.c Thu Feb  2 02:48:34 2006
@@ -117,6 +117,7 @@
 		AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
         return NULL;
     }
+    param_impl->param.ops->value_free = NULL;
     /* initialize ops */
     param_impl->param.ops->get_name = axis2_param_get_name;
     param_impl->param.ops->get_value = axis2_param_get_value;



Mime
View raw message