axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r369399 - /webservices/axis2/trunk/c/modules/core/engine/conf.c
Date Mon, 16 Jan 2006 08:36:54 GMT
Author: damitha
Date: Mon Jan 16 00:36:49 2006
New Revision: 369399

URL: http://svn.apache.org/viewcvs?rev=369399&view=rev
Log:
axis2_conf_module, file is not allocated. Fixed it

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=369399&r1=369398&r2=369399&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/conf.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/conf.c Mon Jan 16 00:36:49 2006
@@ -1690,8 +1690,11 @@
     module_desc = axis2_conf_get_module(conf, env, module_ref);
     if(NULL == module_desc)
     {
-        printf("came30\n");
         axis2_file_t *file = NULL;
+        int file_size = 0;
+        
+        file_size = sizeof(axis2_file_t);
+        file = (axis2_file_t *) AXIS2_MALLOC((*env)->allocator, file_size);
         file->name = AXIS2_QNAME_GET_LOCALPART(module_ref, env);
         dep_engine = axis2_dep_engine_create(env);
         module_desc = AXIS2_DEP_ENGINE_BUILD_MODULE(dep_engine, env, file, conf);
@@ -1699,7 +1702,6 @@
     }
     if(NULL != module_desc)
     {
-        printf("came31\n");
         int size = 0;
         int i = 0;
         



Mime
View raw message