summaryrefslogtreecommitdiff
path: root/ext/json/json.c
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2016-04-22 17:48:35 +0200
committerNikita Popov <nikic@php.net>2016-04-22 17:48:35 +0200
commitded69ee6e6039d56ee7b65b1a578ed1e3d1859da (patch)
tree4d58b3fa6386c7934384a11b49b5dbbf1e50225d /ext/json/json.c
parent304e5ae3d6d00178d71bd345f0a6f98c948a5e19 (diff)
downloadphp-git-ded69ee6e6039d56ee7b65b1a578ed1e3d1859da.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...
Diffstat (limited to 'ext/json/json.c')
0 files changed, 0 insertions, 0 deletions