Skip to content

Commit b20df16

Browse files
author
felipe
committed
- Fix memleak on `php -v'
git-svn-id: http://svn.php.net/repository/php/php-src/trunk@312352 c90b9560-bf6c-de11-be94-00142212c4b1
1 parent 0eec5c1 commit b20df16

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sapi/cli/php_cli.c

+1
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,7 @@ static int do_cli(int argc, char **argv TSRMLS_DC) /* {{{ */
704704
#endif
705705
get_zend_version()
706706
);
707+
sapi_deactivate(TSRMLS_C);
707708
goto out;
708709

709710
case 'm': /* list compiled in modules */

0 commit comments

Comments
 (0)