cvs: php-src(PHP_5_0) /sapi/apache2filter sapi_apache2.c

From: Date: Fri, 07 Jan 2005 06:28:24 +0000
Subject: cvs: php-src(PHP_5_0) /sapi/apache2filter sapi_apache2.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-29786@lists.php.net to get a copy of this message
sniper Fri Jan 7 01:28:24 2005 EDT Modified files: (Branch: PHP_5_0) /php-src/sapi/apache2filter sapi_apache2.c Log: MFH: - Fixed bug #31055 (apache2filter: per request leak proportional to the full path of the request URI) http://cvs.php.net/diff.php/php-src/sapi/apache2filter/sapi_apache2.c?r1=1.125&r2=1.125.2.1&ty=u Index: php-src/sapi/apache2filter/sapi_apache2.c diff -u php-src/sapi/apache2filter/sapi_apache2.c:1.125 php-src/sapi/apache2filter/sapi_apache2.c:1.125.2.1 --- php-src/sapi/apache2filter/sapi_apache2.c:1.125 Thu Jun 17 20:36:58 2004 +++ php-src/sapi/apache2filter/sapi_apache2.c Fri Jan 7 01:28:24 2005 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: sapi_apache2.c,v 1.125 2004/06/18 00:36:58 iliaa Exp $ */ +/* $Id: sapi_apache2.c,v 1.125.2.1 2005/01/07 06:28:24 sniper Exp $ */ #include <fcntl.h> @@ -427,6 +427,9 @@ 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)

« previous php.cvs (#29786) next »