httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject cvs commit: apache-1.3/src/modules/standard mod_rewrite.c
Date Fri, 27 Aug 2004 19:29:58 GMT
nd          2004/08/27 12:29:57

  Modified:    src      CHANGES
               src/modules/standard mod_rewrite.c
  Log:
  Fix memory leak.
  
  PR: 27862
  Submitted by: shengperson yahoo.com (chunyan sheng)
  Reviewed by: Joe Orton, Jeff Trawick
  
  Revision  Changes    Path
  1.1948    +3 -0      apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.1947
  retrieving revision 1.1948
  diff -u -u -r1.1947 -r1.1948
  --- CHANGES	20 Aug 2004 21:22:24 -0000	1.1947
  +++ CHANGES	27 Aug 2004 19:29:57 -0000	1.1948
  @@ -1,5 +1,8 @@
   Changes with Apache 1.3.32
   
  +  *) Fix memory leak in the cache handling of mod_rewrite. PR 27862.
  +     [chunyan sheng <shengperson yahoo.com>, André Malo]
  +
     *) mod_rewrite no longer confuses the RewriteMap caches if
        different maps defined in different virtual hosts use the
        same map name. PR 26462.  [André Malo]
  
  
  
  1.196     +1 -1      apache-1.3/src/modules/standard/mod_rewrite.c
  
  Index: mod_rewrite.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/modules/standard/mod_rewrite.c,v
  retrieving revision 1.195
  retrieving revision 1.196
  diff -u -u -r1.195 -r1.196
  --- mod_rewrite.c	20 Aug 2004 21:22:25 -0000	1.195
  +++ mod_rewrite.c	27 Aug 2004 19:29:57 -0000	1.196
  @@ -3939,7 +3939,7 @@
               return NULL;
           }
       }
  -    return ap_pstrdup(c->pool, ce->value);
  +    return ce->value;
   }
   
   static int cache_tlb_hash(char *key)
  
  
  

Mime
View raw message