diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-08-24 16:23:19 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-08-24 16:23:19 +0200 |
commit | bb54694f4fe3ec4637cae22a118d6f5738d831d2 (patch) | |
tree | 26ef88a1025e0f1674a8b9105453881d051d1bab /Zend/zend_execute_API.c | |
parent | 6b6c2c003c69729832a7804c76bff6e230b73c91 (diff) | |
download | php-git-bb54694f4fe3ec4637cae22a118d6f5738d831d2.tar.gz |
Fix refcounting
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r-- | Zend/zend_execute_API.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 78a041d6ce..a62b9292ec 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -796,6 +796,7 @@ int zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache *fci_cache) / if (EXPECTED(!must_wrap)) { ZVAL_COPY(param, arg); } else { + Z_TRY_ADDREF_P(arg); ZVAL_NEW_REF(param, arg); } } |