From: foobar Date: Fri, 7 Jan 2005 06:28:36 +0000 (+0000) Subject: MFH: - Fixed bug #31055 (apache2filter: per request leak proportional to the full... X-Git-Tag: php-4.3.11RC1~193 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f772c8195ac914ddab020f1f126f9594bde52b95;p=php MFH: - Fixed bug #31055 (apache2filter: per request leak proportional to the full path of the request URI) --- diff --git a/sapi/apache2filter/sapi_apache2.c b/sapi/apache2filter/sapi_apache2.c index cc1d8e59a3..ddc1e9f47a 100644 --- a/sapi/apache2filter/sapi_apache2.c +++ b/sapi/apache2filter/sapi_apache2.c @@ -427,6 +427,9 @@ static void php_apache_request_dtor(ap_filter_t *f TSRMLS_DC) if (SG(request_info).request_uri) { free(SG(request_info).request_uri); } + if (SG(request_info).path_translated) { + free(SG(request_info).path_translated); + } } static int php_output_filter(ap_filter_t *f, apr_bucket_brigade *bb)