tony2001                                 Wed, 23 Dec 2009 09:42:47 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=292520

Log:
fix leak (merge from trunk)

Changed paths:
    U   php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/fastcgi.c

Modified: php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/fastcgi.c
===================================================================
--- php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/fastcgi.c     2009-12-23 
09:40:28 UTC (rev 292519)
+++ php/php-src/branches/PHP_5_3_FPM/sapi/fpm/fpm/fastcgi.c     2009-12-23 
09:42:47 UTC (rev 292520)
@@ -273,6 +273,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