summaryrefslogtreecommitdiff
path: root/Zend/zend_objects.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2018-07-04 12:08:07 +0300
committerDmitry Stogov <dmitry@zend.com>2018-07-04 12:08:07 +0300
commitaf341213f73650b28b74b374501d84060eb604ab (patch)
tree985cb727a2d695a641e637d0cf473b90f8560900 /Zend/zend_objects.c
parent5f19816f533500a7a262b4ccaa9d5a59d25a932b (diff)
downloadphp-git-af341213f73650b28b74b374501d84060eb604ab.tar.gz
se zval_ptr_dtor_str() instead of zend_string_release_ex(Z_STR(*), 0)
Diffstat (limited to 'Zend/zend_objects.c')
-rw-r--r--Zend/zend_objects.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_objects.c b/Zend/zend_objects.c
index 496b46f5f8..65d8dca205 100644
--- a/Zend/zend_objects.c
+++ b/Zend/zend_objects.c
@@ -60,7 +60,7 @@ ZEND_API void zend_object_std_dtor(zend_object *object)
}
if (UNEXPECTED(object->ce->ce_flags & ZEND_ACC_USE_GUARDS)) {
if (EXPECTED(Z_TYPE_P(p) == IS_STRING)) {
- zend_string_release_ex(Z_STR_P(p), 0);
+ zval_ptr_dtor_str(p);
} else if (Z_TYPE_P(p) == IS_ARRAY) {
HashTable *guards;