summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2001-01-03 00:54:15 +0000
committerRyan Bloom <rbb@apache.org>2001-01-03 00:54:15 +0000
commitf0d8a527dad8d6f7b2a23aa72a748c57e0d27cc9 (patch)
treeef363b3d92b310a135cf2d539de48ff6d3186058 /lib
parentd964fe569ec749e7f5b83d4a72395f4510c88cc7 (diff)
downloadapr-f0d8a527dad8d6f7b2a23aa72a748c57e0d27cc9.tar.gz
Remove some left overs from the NULL pool code. This was only in debug
code, but it should go away. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61010 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'lib')
-rw-r--r--lib/apr_pools.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/apr_pools.c b/lib/apr_pools.c
index 0e5bdaeb9..de3b1d615 100644
--- a/lib/apr_pools.c
+++ b/lib/apr_pools.c
@@ -903,12 +903,6 @@ APR_DECLARE(void*) apr_palloc(apr_pool_t *a, apr_size_t reqsize)
apr_size_t size = reqsize + CLICK_SZ;
void *ptr;
- if (a == NULL) {
- return malloc(reqsize);
- }
- if (c == NULL) {
- return malloc(reqsize);
- }
ptr = malloc(size);
if (ptr == NULL) {
fputs("Ouch! Out of memory!\n", stderr);