diff options
| author | Dmitry Stogov <dmitry@php.net> | 2008-01-24 11:54:55 +0000 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@php.net> | 2008-01-24 11:54:55 +0000 |
| commit | d328000c476f42d08e215710f7a37907fbbf3ec8 (patch) | |
| tree | cc4310d4df8649b234577a8308f8365eafd87e08 /Zend/zend_gc.c | |
| parent | dfd32b69fd737658e4546cb2e1c4329b5f74eed3 (diff) | |
| download | php-git-d328000c476f42d08e215710f7a37907fbbf3ec8.tar.gz | |
Fixed possible GC failure bacause of EG(object_store).object_buckets reallocation
Diffstat (limited to 'Zend/zend_gc.c')
| -rw-r--r-- | Zend/zend_gc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_gc.c b/Zend/zend_gc.c index 48afebd448..88b89fc927 100644 --- a/Zend/zend_gc.c +++ b/Zend/zend_gc.c @@ -203,6 +203,7 @@ ZEND_API void gc_zobj_possible_root(zval *zv TSRMLS_DC) zv->refcount__gc++; gc_collect_cycles(TSRMLS_C); zv->refcount__gc--; + obj = &EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(zv)].bucket.obj; GC_SET_PURPLE(obj->buffered); newRoot = GC_G(unused); } |
