You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@locus.apache.org on 2000/07/11 19:28:20 UTC

cvs commit: apache-2.0/src/lib/apr/buckets ap_rwmem_buf.c

rbb         00/07/11 10:28:19

  Modified:    src/lib/apr/buckets ap_rwmem_buf.c
  Log:
  Remove an extra free with the read/write buckets.  This would cause the
  same seg fault that the mmap buckets were suffering from.
  
  Revision  Changes    Path
  1.2       +0 -1      apache-2.0/src/lib/apr/buckets/ap_rwmem_buf.c
  
  Index: ap_rwmem_buf.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/buckets/ap_rwmem_buf.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ap_rwmem_buf.c	2000/07/11 00:25:57	1.1
  +++ ap_rwmem_buf.c	2000/07/11 17:28:18	1.2
  @@ -78,7 +78,6 @@
   {
       ap_bucket_rwmem *d = (ap_bucket_rwmem *)e;
       free(d->alloc_addr);
  -    free(d);
   }
   
   APR_EXPORT(char *) ap_rwmem_get_char_str(ap_bucket_rwmem *b)