diff options
author | Nikita Popov <nikic@php.net> | 2016-04-22 17:48:35 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2016-09-17 22:33:41 +0200 |
commit | 896814e139d8dead8193f0e44cdc4ba3d8a002c7 (patch) | |
tree | de457b5b5742491a2606ec7afe38c4e32bbb068c /sapi/phpdbg/phpdbg_prompt.c | |
parent | 48cf8dd9c32926775798a11ee0c0fc81d8bf3c7a (diff) | |
download | php-git-896814e139d8dead8193f0e44cdc4ba3d8a002c7.tar.gz |
Make zval_ptr_dtor / _zval_dtor_func more robust
In particular, allow arrays with refcount>1, like we already allow
for all other types. _zval_dtor_func is now the same as
_zval_dtor_func_for_ptr with an extra refcount decrement check at
the start. At this point we might as well drop it...
Cherry-pick of ded69ee6e6039d56ee7b65b1a578ed1e3d1859da from
PHP-7.1.
Diffstat (limited to 'sapi/phpdbg/phpdbg_prompt.c')
0 files changed, 0 insertions, 0 deletions