From: Felipe Pena Date: Tue, 21 Jun 2011 01:47:05 +0000 (+0000) Subject: - Fix memleak on `php -v' X-Git-Tag: php-5.4.0alpha2~114 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8480b7f4befa56fdee36e80b41681c71cbbf273c;p=php - Fix memleak on `php -v' --- diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index 3aa88fdf64..6b8113ad17 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -704,6 +704,7 @@ static int do_cli(int argc, char **argv TSRMLS_DC) /* {{{ */ #endif get_zend_version() ); + sapi_deactivate(TSRMLS_C); goto out; case 'm': /* list compiled in modules */