apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwool...@apache.org
Subject cvs commit: apr-util/buckets apr_brigade.c
Date Wed, 20 Jun 2001 01:17:28 GMT
jwoolley    01/06/19 18:17:28

  Modified:    buckets  apr_brigade.c
  Log:
  Another step in my mission to get rid of unnecessary callocs... there
  are none left in the buckets code, but I'll bet there are others out
  there that could go away.
  
  Revision  Changes    Path
  1.18      +1 -1      apr-util/buckets/apr_brigade.c
  
  Index: apr_brigade.c
  ===================================================================
  RCS file: /home/cvs/apr-util/buckets/apr_brigade.c,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -d -u -r1.17 -r1.18
  --- apr_brigade.c	2001/06/13 16:48:44	1.17
  +++ apr_brigade.c	2001/06/20 01:17:28	1.18
  @@ -100,7 +100,7 @@
   {
       apr_bucket_brigade *b;
   
  -    b = apr_pcalloc(p, sizeof(*b));
  +    b = apr_palloc(p, sizeof(*b));
       b->p = p;
   
       APR_RING_INIT(&b->list, apr_bucket, link);
  
  
  

Mime
View raw message