diff options
author | Dmitry Stogov <dmitry@zend.com> | 2017-02-03 17:38:03 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2017-02-03 17:38:03 +0300 |
commit | 7aff166e5703d53a0d82d267f5401ace31d1a828 (patch) | |
tree | 3779c35c94f788a1a8fbd6a6190d4fa4495c78d3 /main/php_variables.c | |
parent | 984a6312e432f1cc32b53bed324c9b0ef16edb45 (diff) | |
download | php-git-7aff166e5703d53a0d82d267f5401ace31d1a828.tar.gz |
Arguments array can't make cycles
Diffstat (limited to 'main/php_variables.c')
-rw-r--r-- | main/php_variables.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php_variables.c b/main/php_variables.c index c1fb36d6ad..7dd5298af9 100644 --- a/main/php_variables.c +++ b/main/php_variables.c @@ -610,7 +610,7 @@ PHPAPI void php_build_argv(char *s, zval *track_vars_array) zend_hash_str_update(Z_ARRVAL_P(track_vars_array), "argv", sizeof("argv")-1, &arr); zend_hash_str_update(Z_ARRVAL_P(track_vars_array), "argc", sizeof("argc")-1, &argc); } - zval_ptr_dtor(&arr); + zval_ptr_dtor_nogc(&arr); } /* }}} */ |