axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r368300 - /webservices/axis2/trunk/c/modules/core/engine/conf.c
Date Thu, 12 Jan 2006 07:34:33 GMT
Author: samisa
Date: Wed Jan 11 23:34:26 2006
New Revision: 368300

URL: http://svn.apache.org/viewcvs?rev=368300&view=rev
Log:
Fixed the bug due to non allocation of a hash for a required member

Modified:
    webservices/axis2/trunk/c/modules/core/engine/conf.c

Modified: webservices/axis2/trunk/c/modules/core/engine/conf.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/engine/conf.c?rev=368300&r1=368299&r2=368300&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/conf.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/conf.c Wed Jan 11 23:34:26 2006
@@ -416,6 +416,14 @@
         return NULL;
 	}
 	
+    config_impl->all_svcs = axis2_hash_make(env);
+    if(NULL == config_impl->all_svcs)
+    {
+        axis2_conf_free(&(config_impl->conf), env);
+        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        return NULL;
+    } 
+    
     config_impl->msg_recvs = axis2_hash_make(env);
     if(NULL == config_impl->msg_recvs)
     {



Mime
View raw message