axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shan...@apache.org
Subject svn commit: r706275 - /webservices/axis2/trunk/c/src/core/receivers/msg_recv.c
Date Mon, 20 Oct 2008 13:19:04 GMT
Author: shankar
Date: Mon Oct 20 06:19:03 2008
New Revision: 706275

URL: http://svn.apache.org/viewvc?rev=706275&view=rev
Log:
mutex lock is unlocked incase of early return. Fixed...

Modified:
    webservices/axis2/trunk/c/src/core/receivers/msg_recv.c

Modified: webservices/axis2/trunk/c/src/core/receivers/msg_recv.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/receivers/msg_recv.c?rev=706275&r1=706274&r2=706275&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/receivers/msg_recv.c (original)
+++ webservices/axis2/trunk/c/src/core/receivers/msg_recv.c Mon Oct 20 06:19:03 2008
@@ -155,6 +155,7 @@
 		impl_class = axis2_svc_get_impl_class(svc, env);
 		if (impl_class)
 		{
+            axutil_thread_mutex_unlock(axis2_svc_get_mutex(svc, env));
 			return impl_class;
 		}
 		impl_info_param = axis2_svc_get_param(svc, env, AXIS2_SERVICE_CLASS);
@@ -162,6 +163,7 @@
 		{
 			AXIS2_ERROR_SET(env->error, AXIS2_ERROR_INVALID_STATE_SVC,
 							AXIS2_FAILURE);
+            axutil_thread_mutex_unlock(axis2_svc_get_mutex(svc, env));
 			return NULL;
 		}
 



Mime
View raw message