diff options
author | Felipe Pena <felipe@php.net> | 2011-06-21 01:47:05 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2011-06-21 01:47:05 +0000 |
commit | 8480b7f4befa56fdee36e80b41681c71cbbf273c (patch) | |
tree | 4b42b3bd3e3314cf9789557bcfbcebf1b91cd29d /sapi/cli/php_cli.c | |
parent | b83af94c2b0619b2876a9ef73a04b438e1a243bb (diff) | |
download | php-git-8480b7f4befa56fdee36e80b41681c71cbbf273c.tar.gz |
- Fix memleak on `php -v'
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r-- | sapi/cli/php_cli.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |