axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manj...@apache.org
Subject svn commit: r680132 - in /webservices/axis2/trunk/c/util: include/axutil_allocator.h src/allocator.c
Date Sun, 27 Jul 2008 15:39:47 GMT
Author: manjula
Date: Sun Jul 27 08:39:46 2008
New Revision: 680132

URL: http://svn.apache.org/viewvc?rev=680132&view=rev
Log:
Switching back to apache request pool.

Modified:
    webservices/axis2/trunk/c/util/include/axutil_allocator.h
    webservices/axis2/trunk/c/util/src/allocator.c

Modified: webservices/axis2/trunk/c/util/include/axutil_allocator.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_allocator.h?rev=680132&r1=680131&r2=680132&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_allocator.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_allocator.h Sun Jul 27 08:39:46 2008
@@ -108,14 +108,6 @@
          */
         void *current_pool;
 
-        void *pool_allocator;
-        int ref_pool_allocator;
-
-        void(
-            AXIS2_CALL
-            * pool_allocator_destroy)(
-                struct axutil_allocator * allocator);
-
     }
     axutil_allocator_t;
 
@@ -176,10 +168,6 @@
 #define AXIS2_FREE(allocator, ptr) \
       ((allocator)->free_fn(allocator, ptr))
 
-#define AXIS2_POOL_ALLOCATOR_DESTROY(allocator) \
-      ((allocator)->pool_allocator_destroy(allocator))  
-
-
     /** @} */
 
 #ifdef __cplusplus

Modified: webservices/axis2/trunk/c/util/src/allocator.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/allocator.c?rev=680132&r1=680131&r2=680132&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/src/allocator.c (original)
+++ webservices/axis2/trunk/c/util/src/allocator.c Sun Jul 27 08:39:46 2008
@@ -49,9 +49,6 @@
             allocator->malloc_fn = axutil_allocator_malloc_impl;
             allocator->realloc = axutil_allocator_realloc_impl;
             allocator->free_fn = axutil_allocator_free_impl;
-            allocator->pool_allocator_destroy = NULL;
-            allocator->pool_allocator = NULL;
-            allocator->ref_pool_allocator = 0;
 
             return allocator;
         }



Mime
View raw message