]> granicus.if.org Git - php/commit
Fix zend_fcall_info_arg*() to use ZVAL_COPY
authorMichael Wallner <mike@php.net>
Thu, 4 Dec 2014 12:02:30 +0000 (13:02 +0100)
committerMichael Wallner <mike@php.net>
Thu, 4 Dec 2014 12:02:30 +0000 (13:02 +0100)
commitf0a17c293b5b240a4da27e6b5f89dbd9c9183488
tree1d6d62edf7a1eb14a09a1d2fd2903c78e6337eea
parentf8e7b3d166a4aba2ebd9469731b01ccd30065184
Fix zend_fcall_info_arg*() to use ZVAL_COPY

As zend_fcall_info_args_clear() calls zval_ptr_dtor() we also have
to increase the refcount of refcounted zvals added as params,
like it is already done in zend_fcall_info_args_ex().
Zend/zend_API.c
main/output.c