From: foobar Date: Fri, 7 Jan 2005 06:28:24 +0000 (+0000) Subject: MFH: - Fixed bug #31055 (apache2filter: per request leak proportional to the full... X-Git-Tag: php-5.0.4RC1~383 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=44f94fee4ad3840f0143837bec01274833355768;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 d9eee97493..17a302b079 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)