summaryrefslogtreecommitdiff
path: root/Zend/zend_objects.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2015-07-02 18:43:06 +0800
committerXinchen Hui <laruence@php.net>2015-07-02 18:43:06 +0800
commit72b0627315e6606310c1042a51dad6e835620bab (patch)
treea15c4f11e5361607d663234af1c6afd97b61c6c0 /Zend/zend_objects.c
parent3422fb57c88cdb82868b845e0690569c376f080c (diff)
downloadphp-git-72b0627315e6606310c1042a51dad6e835620bab.tar.gz
Fixed bug #69521 (Segfault in gc_collect_cycles()).
Diffstat (limited to 'Zend/zend_objects.c')
-rw-r--r--Zend/zend_objects.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Zend/zend_objects.c b/Zend/zend_objects.c
index 9eccf1b601..6dc1a2d076 100644
--- a/Zend/zend_objects.c
+++ b/Zend/zend_objects.c
@@ -57,8 +57,6 @@ ZEND_API void zend_object_std_dtor(zend_object *object)
if (object->properties) {
if (EXPECTED(!(GC_FLAGS(object->properties) & IS_ARRAY_IMMUTABLE))) {
if (EXPECTED(--GC_REFCOUNT(object->properties) == 0)) {
- GC_REMOVE_FROM_BUFFER(object->properties);
- GC_TYPE_INFO(object->properties) = IS_NULL | (GC_WHITE << 16);
zend_array_destroy(object->properties);
}
}