felipe Tue, 21 Jun 2011 01:47:05 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=312352
Log: - Fix memleak on `php -v' Changed paths: U php/php-src/branches/PHP_5_4/sapi/cli/php_cli.c U php/php-src/trunk/sapi/cli/php_cli.c Modified: php/php-src/branches/PHP_5_4/sapi/cli/php_cli.c =================================================================== --- php/php-src/branches/PHP_5_4/sapi/cli/php_cli.c 2011-06-20 23:36:25 UTC (rev 312351) +++ php/php-src/branches/PHP_5_4/sapi/cli/php_cli.c 2011-06-21 01:47:05 UTC (rev 312352) @@ -704,6 +704,7 @@ #endif get_zend_version() ); + sapi_deactivate(TSRMLS_C); goto out; case 'm': /* list compiled in modules */ Modified: php/php-src/trunk/sapi/cli/php_cli.c =================================================================== --- php/php-src/trunk/sapi/cli/php_cli.c 2011-06-20 23:36:25 UTC (rev 312351) +++ php/php-src/trunk/sapi/cli/php_cli.c 2011-06-21 01:47:05 UTC (rev 312352) @@ -704,6 +704,7 @@ #endif get_zend_version() ); + sapi_deactivate(TSRMLS_C); goto out; case 'm': /* list compiled in modules */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php