apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: apr/lib apr_pools.c
Date Wed, 03 Jan 2001 00:54:15 GMT
rbb         01/01/02 16:54:15

  Modified:    lib      apr_pools.c
  Log:
  Remove some left overs from the NULL pool code.  This was only in debug
  code, but it should go away.
  
  Revision  Changes    Path
  1.78      +0 -6      apr/lib/apr_pools.c
  
  Index: apr_pools.c
  ===================================================================
  RCS file: /home/cvs/apr/lib/apr_pools.c,v
  retrieving revision 1.77
  retrieving revision 1.78
  diff -u -r1.77 -r1.78
  --- apr_pools.c	2001/01/03 00:53:05	1.77
  +++ apr_pools.c	2001/01/03 00:54:15	1.78
  @@ -903,12 +903,6 @@
       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);
  
  
  

Mime
View raw message