From 05adbd51b47b90ebfcfeab7d97f4c2b4d28e4065 Mon Sep 17 00:00:00 2001 From: foobar Date: Fri, 7 Jan 2005 06:28:08 +0000 Subject: - Fixed bug #31055 (apache2filter: per request leak proportional to the full path of the request URI) --- sapi/apache2filter/sapi_apache2.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sapi/apache2filter') diff --git a/sapi/apache2filter/sapi_apache2.c b/sapi/apache2filter/sapi_apache2.c index 2257b76c79..11713ef75c 100644 --- a/sapi/apache2filter/sapi_apache2.c +++ b/sapi/apache2filter/sapi_apache2.c @@ -434,6 +434,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) -- cgit v1.2.1