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/02 11:48:39 UTC
svn commit: r374347 -
/webservices/axis2/trunk/c/modules/core/description/param.c
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;