]> granicus.if.org Git - php/commitdiff
MFH: - Fixed bug #31055 (apache2filter: per request leak proportional to the full...
authorfoobar <sniper@php.net>
Fri, 7 Jan 2005 06:28:24 +0000 (06:28 +0000)
committerfoobar <sniper@php.net>
Fri, 7 Jan 2005 06:28:24 +0000 (06:28 +0000)
sapi/apache2filter/sapi_apache2.c

index d9eee97493c75917371dfb6ecf928f3c882a125a..17a302b079988d1006b7c78189df73dacb25e931 100644 (file)
@@ -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)