Commit d4ef03d6 authored by Andre Malo's avatar Andre Malo
Browse files

Fix memory leak.

PR: 27862
Reviewed by: Joe Orton, Jeff Trawick


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@104863 13f79535-47bb-0310-9956-ffa450edef68
parent 6d4e13c1
Loading
Loading
Loading
Loading
+3 −0
Changes for CHANGES: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
Changes with Apache 2.0.51
  *) Fix memory leak in the cache handling of mod_rewrite. PR 27862.
     [chunyan sheng <shengperson yahoo.com>, André Malo]
  *) Include directives no longer refuse to process symlinks on
     directories. Instead there's now a maximum nesting level
     of included directories (128 as distributed). This is configurable
+1 −5
Changes for STATUS: 1 added line, 5 removed lines.
Original line number Diff line number Diff line
APACHE 2.0 STATUS:                                              -*-text-*-
Last modified at [$Date: 2004/08/27 19:11:20 $]
Last modified at [$Date: 2004/08/27 19:23:24 $]

Release:

@@ -156,10 +156,6 @@ PATCHES TO BACKPORT FROM 2.1
                    have already.  *shrug*  Regardless, patch looks okay...
       +1: nd, jerenkrantz

    *) Fix memory leak in mod_rewrite. PR 27862. (2.0 + 1.3)
         http://www.apache.org/~nd/mod_rewrite_fixleak.diff
       +1: nd, jorton, trawick

    *) mod_log_config: Fix a bug which prevented request completion time
       from being logged for I_INSIST_ON_EXTRA_CYCLES_FOR_CLF_COMPLIANCE
       processing.  PR 29696.  [Alois Treindl <alois astro.ch>]
+1 −1
Changes for modules/mappers/mod_rewrite.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -4061,7 +4061,7 @@ static char *get_cache_string(cache *c, const char *res, int mode,
            return NULL;
        }
    }
    return apr_pstrdup(c->pool, ce->value);
    return ce->value;
}

static int cache_tlb_hash(char *key)