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 2009/06/22 10:36:39 UTC

svn commit: r787166 - /webservices/axis2/trunk/c/src/core/deployment/conf_init.c

Author: damitha
Date: Mon Jun 22 08:36:39 2009
New Revision: 787166

URL: http://svn.apache.org/viewvc?rev=787166&view=rev
Log:
Removing unneccessary pool switching

Modified:
    webservices/axis2/trunk/c/src/core/deployment/conf_init.c

Modified: webservices/axis2/trunk/c/src/core/deployment/conf_init.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/deployment/conf_init.c?rev=787166&r1=787165&r2=787166&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/deployment/conf_init.c (original)
+++ webservices/axis2/trunk/c/src/core/deployment/conf_init.c Mon Jun 22 08:36:39 2009
@@ -314,7 +314,6 @@
                                 "Invalid state of the service %s", svc_name);
                             return AXIS2_FAILURE;
                         }
-                        axutil_allocator_switch_to_global_pool(env->allocator);
                         axutil_class_loader_init(env);
                         impl_class =
                             axutil_class_loader_create_dll(env,
@@ -323,14 +322,12 @@
                         {
                             AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI,
                                 "Service %s could not be loaded", svc_name);
-                            axutil_allocator_switch_to_local_pool(env->allocator);
                             return AXIS2_FAILURE;
                         }
 
                         axis2_svc_set_impl_class(svc_desc, env, impl_class);
                         status = AXIS2_SVC_SKELETON_INIT_WITH_CONF(
                             (axis2_svc_skeleton_t *) impl_class, env, conf);
-                        axutil_allocator_switch_to_local_pool(env->allocator);
                         if(!status)
                         {
                             AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI,