From: Dmitry Stogov Date: Wed, 14 Jul 2010 10:27:08 +0000 (+0000) Subject: Fixed incorrect reinitialization X-Git-Tag: php-5.3.3RC3~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4c961e9045cb60a7d8bda76cdae46775605b9ecf;p=php Fixed incorrect reinitialization --- diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c index e71456ab37..d7a0d3bb88 100644 --- a/Zend/zend_alloc.c +++ b/Zend/zend_alloc.c @@ -1115,7 +1115,7 @@ ZEND_API zend_mm_heap *zend_mm_startup_ex(const zend_mm_mem_handlers *handlers, mm_heap->large_free_buckets[i]->parent = &mm_heap->large_free_buckets[i]; } } - mm_heap->rest_buckets[0]->next_free_block = mm_heap->rest_buckets[1]->prev_free_block = ZEND_MM_REST_BUCKET(mm_heap); + mm_heap->rest_buckets[0] = mm_heap->rest_buckets[1] = ZEND_MM_REST_BUCKET(mm_heap); free(heap); heap = mm_heap;