Re: svn: /php/php-src/ branches/PHP_5_3/sapi/cgi/fastcgi.c trunk/sapi/cgi/fastcgi.c
| From: | Jani Taskinen | Date: | Wed, 23 Dec 2009 21:15:02 +0000 |
| Subject: | Re: svn: /php/php-src/ branches/PHP_5_3/sapi/cgi/fastcgi.c trunk/sapi/cgi/fastcgi.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-61402@lists.php.net to get a copy of this message | ||
Everybody seems to commit only in whatever branch they are working now?
AFAICT, this patch is necessary also in PHP_5_2, why didn't you commit there?
--Jani
23.12.2009 11:40, Antony Dovgal wrote:
tony2001 Wed, 23 Dec 2009 09:40:28 +0000Revision: http://svn.php.net/viewvc?view=revision&revision=292519 Log: fix minor leak in CGI sapi (happened once per child) Changed paths:U php/php-src/branches/PHP_5_3/sapi/cgi/fastcgi.c U php/php-src/trunk/sapi/cgi/fastcgi.cModified: php/php-src/branches/PHP_5_3/sapi/cgi/fastcgi.c =================================================================== --- php/php-src/branches/PHP_5_3/sapi/cgi/fastcgi.c 2009-12-23 09:37:28 UTC (rev 292518) +++ php/php-src/branches/PHP_5_3/sapi/cgi/fastcgi.c 2009-12-23 09:40:28 UTC (rev 292519) @@ -255,6 +255,9 @@ zend_hash_destroy(&fcgi_mgmt_vars); } is_fastcgi = 0; + if (allowed_clients) { + free(allowed_clients); + } } #ifdef _WIN32 Modified: php/php-src/trunk/sapi/cgi/fastcgi.c =================================================================== --- php/php-src/trunk/sapi/cgi/fastcgi.c 2009-12-23 09:37:28 UTC (rev 292518) +++ php/php-src/trunk/sapi/cgi/fastcgi.c 2009-12-23 09:40:28 UTC (rev 292519) @@ -186,6 +186,9 @@ zend_hash_destroy(&fcgi_mgmt_vars); } is_fastcgi = 0; + if (allowed_clients) { + free(allowed_clients); + } } int fcgi_init(void)