summaryrefslogtreecommitdiff
path: root/sapi/apache2filter
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-01-07 06:28:08 +0000
committerfoobar <sniper@php.net>2005-01-07 06:28:08 +0000
commit05adbd51b47b90ebfcfeab7d97f4c2b4d28e4065 (patch)
tree1993e642cd0044c3d663f659236dd855d2189ad0 /sapi/apache2filter
parent7a3d9addb8cd01eab5d0f158eefe2a61062f8159 (diff)
downloadphp-git-05adbd51b47b90ebfcfeab7d97f4c2b4d28e4065.tar.gz
- Fixed bug #31055 (apache2filter: per request leak proportional to the full path of the request URI)
Diffstat (limited to 'sapi/apache2filter')
-rw-r--r--sapi/apache2filter/sapi_apache2.c3
1 files changed, 3 insertions, 0 deletions
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)