You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2006/01/12 08:34:33 UTC

svn commit: r368300 - /webservices/axis2/trunk/c/modules/core/engine/conf.c

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)
     {