Patch bug61649.patch for Scripting Engine problem Bug #61649
Patch version 2012-04-06 12:18 UTC
Return to Bug #61649 |
Download this patch
Patch Revisions:
Developer: laruence@php.net
diff --git a/Zend/zend_gc.h b/Zend/zend_gc.h
index 5effa5a..308ab64 100644
--- a/Zend/zend_gc.h
+++ b/Zend/zend_gc.h
@@ -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->type == IS_OBJECT) {
+ if ((z->type == IS_ARRAY && !z->value.ht->persistent) || z->type == IS_OBJECT) {
gc_zval_possible_root(z TSRMLS_CC);
}
}
|