cvs: php-src /sapi/apache2filter sapi_apache2.c
| From: | Jani Taskinen | Date: | Fri, 07 Jan 2005 06:28:08 +0000 |
| Subject: | cvs: php-src /sapi/apache2filter sapi_apache2.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-29785@lists.php.net to get a copy of this message | ||
sniper Fri Jan 7 01:28:08 2005 EDT
Modified files:
/php-src/sapi/apache2filter sapi_apache2.c
Log:
- 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.131&r2=1.132&ty=u
Index: php-src/sapi/apache2filter/sapi_apache2.c
diff -u php-src/sapi/apache2filter/sapi_apache2.c:1.131
php-src/sapi/apache2filter/sapi_apache2.c:1.132
--- php-src/sapi/apache2filter/sapi_apache2.c:1.131 Sat Oct 23 09:48:04 2004
+++ php-src/sapi/apache2filter/sapi_apache2.c Fri Jan 7 01:28:08 2005
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: sapi_apache2.c,v 1.131 2004/10/23 13:48:04 jorton Exp $ */
+/* $Id: sapi_apache2.c,v 1.132 2005/01/07 06:28:08 sniper Exp $ */
#include <fcntl.h>
@@ -434,6 +434,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)