httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgau...@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr/network_io/unix sendrecv.c
Date Thu, 02 Mar 2000 07:19:41 GMT
dgaudet     00/03/01 23:19:41

  Modified:    src/lib/apr/network_io/unix sendrecv.c
  Log:
  use local variables please
  
  Revision  Changes    Path
  1.11      +8 -0      apache-2.0/src/lib/apr/network_io/unix/sendrecv.c
  
  Index: sendrecv.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/unix/sendrecv.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- sendrecv.c	2000/02/14 13:43:39	1.10
  +++ sendrecv.c	2000/03/02 07:19:41	1.11
  @@ -100,6 +100,7 @@
                   tv = NULL;
               }
               else {
  +		/* XXX:  BUHHH? wow, what a memory leak! */
                   tv = ap_palloc(sock->cntxt, sizeof(struct timeval));
                   tv->tv_sec  = sock->timeout;
                   tv->tv_usec = 0;
  @@ -159,6 +160,7 @@
                   tv = NULL;
               }
               else {
  +		/* XXX:  BUHHH? wow, what a memory leak! */
                   tv = ap_palloc(sock->cntxt, sizeof(struct timeval));
                   tv->tv_sec  = sock->timeout;
                   tv->tv_usec = 0;
  @@ -225,6 +227,7 @@
           	tv = NULL;
               }
               else {
  +		/* XXX:  BUHHH? wow, what a memory leak! */
           	tv = ap_palloc(sock->cntxt, sizeof(struct timeval));
           	tv->tv_sec = sock->timeout;
           	tv->tv_usec = 0;
  @@ -317,6 +320,7 @@
           	tv = NULL;
               }
               else {
  +		/* XXX:  BUHHH? wow, what a memory leak! */
           	tv = ap_palloc(sock->cntxt, sizeof(struct timeval));
           	tv->tv_sec = sock->timeout;
           	tv->tv_usec = 0;
  @@ -412,6 +416,7 @@
           	tv = NULL;
               }
               else {
  +		/* XXX:  BUHHH? wow, what a memory leak! */
           	tv = ap_palloc(sock->cntxt, sizeof(struct timeval));
           	tv->tv_sec = sock->timeout;
           	tv->tv_usec = 0;
  @@ -470,6 +475,7 @@
           headerlen += hdtr->headers[i].iov_len;
       }
   
  +    /* XXX:  BUHHH? wow, what a memory leak! */
       headerbuf = ap_palloc(sock->cntxt, headerlen);
   
       for (i = 0; i < hdtr->numheaders; i++) {
  @@ -482,6 +488,7 @@
           trailerlen += hdtr->headers[i].iov_len;
       }
   
  +    /* XXX:  BUHHH? wow, what a memory leak! */
       trailerbuf = ap_palloc(sock->cntxt, trailerlen);
   
       for (i = 0; i < hdtr->numtrailers; i++) {
  @@ -517,6 +524,7 @@
           	tv = NULL;
               }
               else {
  +		/* XXX:  BUHHH? wow, what a memory leak! */
           	tv = ap_palloc(sock->cntxt, sizeof(struct timeval));
           	tv->tv_sec = sock->timeout;
           	tv->tv_usec = 0;
  
  
  

Mime
View raw message