Skip to content

Commit 7dd6778

Browse files
committed
Bump
1 parent d933b69 commit 7dd6778

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_alloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,6 @@ static zend_always_inline void zend_mm_chunk_init(zend_mm_heap *heap, zend_mm_ch
931931
chunk->prev = heap->main_chunk->prev;
932932
chunk->prev->next = chunk;
933933
chunk->next->prev = chunk;
934-
ZEND_MM_POISON_CHUNK_HDR(heap->main_chunk, heap);
935934
/* mark first pages as allocated */
936935
chunk->free_pages = ZEND_MM_PAGES - ZEND_MM_FIRST_PAGE;
937936
chunk->free_tail = ZEND_MM_FIRST_PAGE;
@@ -940,6 +939,7 @@ static zend_always_inline void zend_mm_chunk_init(zend_mm_heap *heap, zend_mm_ch
940939
/* mark first pages as allocated */
941940
chunk->free_map[0] = (1L << ZEND_MM_FIRST_PAGE) - 1;
942941
chunk->map[0] = ZEND_MM_LRUN(ZEND_MM_FIRST_PAGE);
942+
ZEND_MM_POISON_CHUNK_HDR(heap->main_chunk, heap);
943943
}
944944

945945
/***********************/

0 commit comments

Comments
 (0)