]> granicus.if.org Git - php/commitdiff
I forgot that inconsistent is only avaliable in debug mode
authorXinchen Hui <laruence@php.net>
Thu, 18 Oct 2012 08:33:07 +0000 (16:33 +0800)
committerXinchen Hui <laruence@php.net>
Thu, 18 Oct 2012 08:33:07 +0000 (16:33 +0800)
NEWS
Zend/zend_gc.h

diff --git a/NEWS b/NEWS
index 06bdf3dbbeab7c1658a87940f014161625b671bd..eca66987eb7b259b29a80ae6e42806dac010d26c 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -2,9 +2,6 @@ PHP                                                                        NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ?? ??? 2012, PHP 5.4.9
 
-- Core:
-  . Fixed bug #63055 (Segfault in zend_gc with SF2 testsuite). (Laruence)
-
 - Fileinfo:
   . Fixed bug #63248 (Load multiple magic files from a directory under Windows).
     (Anatoliy)
index 1f86f19b71f0aa9de5951dc67adb238ad54e83eb..ba30b3aa3badd4e9218485add9a02ccaf61791d4 100644 (file)
@@ -179,7 +179,7 @@ END_EXTERN_C()
 
 static zend_always_inline void gc_zval_check_possible_root(zval *z TSRMLS_DC)
 {
-       if ((z->type == IS_ARRAY && !z->value.ht->inconsistent) || z->type == IS_OBJECT) {
+       if (z->type == IS_ARRAY || z->type == IS_OBJECT) {
                gc_zval_possible_root(z TSRMLS_CC);
        }
 }