rbb         01/01/05 10:18:32

  Modified:    src/buckets ap_buckets_file.c ap_buckets_simple.c
  Log:
  Clean up two memory leaks in the bucket code.
  
  Revision  Changes    Path
  1.19      +1 -1      apr-util/src/buckets/ap_buckets_file.c
  
  Index: ap_buckets_file.c
  ===================================================================
  RCS file: /home/cvs/apr-util/src/buckets/ap_buckets_file.c,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- ap_buckets_file.c 2001/01/02 01:26:53     1.18
  +++ ap_buckets_file.c 2001/01/05 18:18:30     1.19
  @@ -191,7 +191,7 @@
   
   APU_DECLARE_DATA const ap_bucket_type ap_file_type = {
       "FILE", 5,
  -    ap_bucket_destroy_notimpl,
  +    free,
       file_read,
       ap_bucket_setaside_notimpl,
       ap_bucket_split_notimpl,
  
  
  
  1.18      +1 -1      apr-util/src/buckets/ap_buckets_simple.c
  
  Index: ap_buckets_simple.c
  ===================================================================
  RCS file: /home/cvs/apr-util/src/buckets/ap_buckets_simple.c,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- ap_buckets_simple.c       2000/12/21 18:06:15     1.17
  +++ ap_buckets_simple.c       2001/01/05 18:18:30     1.18
  @@ -201,7 +201,7 @@
   
   APU_DECLARE_DATA const ap_bucket_type ap_transient_type = {
       "TRANSIENT", 5,
  -    ap_bucket_destroy_notimpl, 
  +    free, 
       simple_read,
       transient_setaside,
       simple_split,
  
  
  

Reply via email to