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

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to