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 sa...@apache.org on 2007/04/04 08:14:01 UTC
svn commit: r525430 - in /webservices/axis2/trunk/c/savan: build.sh
samples/server/listener/listener_skeleton.c
samples/server/publisher/publisher_skeleton.c src/core/mod_savan.c
Author: samisa
Date: Tue Apr 3 23:14:01 2007
New Revision: 525430
URL: http://svn.apache.org/viewvc?view=rev&rev=525430
Log:
Fixed Linux build breaks
Modified:
webservices/axis2/trunk/c/savan/build.sh
webservices/axis2/trunk/c/savan/samples/server/listener/listener_skeleton.c
webservices/axis2/trunk/c/savan/samples/server/publisher/publisher_skeleton.c
webservices/axis2/trunk/c/savan/src/core/mod_savan.c
Modified: webservices/axis2/trunk/c/savan/build.sh
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/savan/build.sh?view=diff&rev=525430&r1=525429&r2=525430
==============================================================================
--- webservices/axis2/trunk/c/savan/build.sh (original)
+++ webservices/axis2/trunk/c/savan/build.sh Tue Apr 3 23:14:01 2007
@@ -1,5 +1,5 @@
#!/bin/bash
./autogen.sh
-./configure --prefix=${AXIS2C_HOME} --enable-static=no --with-axis2_util=${AXIS2C_HOME}/include --with-axiom=${AXIS2C_HOME}/include
+./configure --prefix=${AXIS2C_HOME} --enable-static=no --with-axis2_util=${AXIS2C_HOME}/include/axis2-1.0 --with-axiom=${AXIS2C_HOME}/include/axis2-1.0
make
make install
Modified: webservices/axis2/trunk/c/savan/samples/server/listener/listener_skeleton.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/savan/samples/server/listener/listener_skeleton.c?view=diff&rev=525430&r1=525429&r2=525430
==============================================================================
--- webservices/axis2/trunk/c/savan/samples/server/listener/listener_skeleton.c (original)
+++ webservices/axis2/trunk/c/savan/samples/server/listener/listener_skeleton.c Tue Apr 3 23:14:01 2007
@@ -145,21 +145,12 @@
if(svc_skeleton->func_array)
{
axutil_array_list_free(svc_skeleton->func_array, env);
- svc_skeleton->func_array = NULL;
- }
-
- /* Free the function array */
- if(svc_skeleton->ops)
- {
- AXIS2_FREE(env->allocator, svc_skeleton->ops);
- svc_skeleton->ops = NULL;
}
/* Free the service skeleton */
if(svc_skeleton)
{
AXIS2_FREE(env->allocator, svc_skeleton);
- svc_skeleton = NULL;
}
return AXIS2_SUCCESS;
Modified: webservices/axis2/trunk/c/savan/samples/server/publisher/publisher_skeleton.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/savan/samples/server/publisher/publisher_skeleton.c?view=diff&rev=525430&r1=525429&r2=525430
==============================================================================
--- webservices/axis2/trunk/c/savan/samples/server/publisher/publisher_skeleton.c (original)
+++ webservices/axis2/trunk/c/savan/samples/server/publisher/publisher_skeleton.c Tue Apr 3 23:14:01 2007
@@ -187,21 +187,12 @@
if(svc_skeleton->func_array)
{
axutil_array_list_free(svc_skeleton->func_array, env);
- svc_skeleton->func_array = NULL;
- }
-
- /* Free the function array */
- if(svc_skeleton->ops)
- {
- AXIS2_FREE(env->allocator, svc_skeleton->ops);
- svc_skeleton->ops = NULL;
}
/* Free the service skeleton */
if(svc_skeleton)
{
AXIS2_FREE(env->allocator, svc_skeleton);
- svc_skeleton = NULL;
}
return AXIS2_SUCCESS;
Modified: webservices/axis2/trunk/c/savan/src/core/mod_savan.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/savan/src/core/mod_savan.c?view=diff&rev=525430&r1=525429&r2=525430
==============================================================================
--- webservices/axis2/trunk/c/savan/src/core/mod_savan.c (original)
+++ webservices/axis2/trunk/c/savan/src/core/mod_savan.c Tue Apr 3 23:14:01 2007
@@ -73,25 +73,17 @@
mod_savan_shutdown(axis2_module_t *module,
const axutil_env_t *env)
{
- if(module->ops)
- {
- AXIS2_FREE(env->allocator, module->ops);
- module->ops = NULL;
- }
-
if(module->handler_create_func_map)
{
/* TODO
* do the neccessary clean in hash map
*/
axutil_hash_free(module->handler_create_func_map, env);
- module->handler_create_func_map = NULL;
}
if(module)
{
AXIS2_FREE(env->allocator, module);
- module = NULL;
}
return AXIS2_SUCCESS;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org