svn: /php/php-src/branches/PHP_5_3_2/sapi/cgi/ fastcgi.c
| From: | Johannes Schlüter | Date: | Wed, 20 Jan 2010 16:02:28 +0000 |
| Subject: | svn: /php/php-src/branches/PHP_5_3_2/sapi/cgi/ fastcgi.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-61581@lists.php.net to get a copy of this message | ||
johannes Wed, 20 Jan 2010 16:02:28 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=293777
Log:
merge 292519: fix minor leak in CGI sapi (happened once per child) (tony2001)
Changed paths:
U php/php-src/branches/PHP_5_3_2/sapi/cgi/fastcgi.c
Modified: php/php-src/branches/PHP_5_3_2/sapi/cgi/fastcgi.c
===================================================================
--- php/php-src/branches/PHP_5_3_2/sapi/cgi/fastcgi.c 2010-01-20 15:59:56 UTC (rev 293776)
+++ php/php-src/branches/PHP_5_3_2/sapi/cgi/fastcgi.c 2010-01-20 16:02:28 UTC (rev 293777)
@@ -255,6 +255,9 @@
zend_hash_destroy(&fcgi_mgmt_vars);
}
is_fastcgi = 0;
+ if (allowed_clients) {
+ free(allowed_clients);
+ }
}
#ifdef _WIN32