git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@450070
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.3.0
[Remove entries to the current 2.0 and 2.2 section below, when backported]
+ *) mod_mem_cache: Memory leak fix: Unconditionally free the buffer.
+ [Davi Arnaut <davi haxent.com.br>]
+
*) mod_cache: From RFC3986 (section 6.2.3.) if a URI contains an
authority component and an empty path, the empty path is to be equivalent
to "/". It explicitly cites the following four URIs as equivalents:
/* Cleanup the mem_cache_object_t */
if (mobj) {
- if (mobj->type == CACHE_TYPE_HEAP && mobj->m) {
+ if (mobj->m) {
free(mobj->m);
}
if (mobj->type == CACHE_TYPE_FILE && mobj->fd) {