Skip to content

Commit d944845

Browse files
committed
Simplify
1 parent 4a30e71 commit d944845

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
@@ -1241,12 +1241,12 @@ static void *zend_mm_alloc_pages(zend_mm_heap *heap, uint32_t pages_count ZEND_F
12411241
heap->real_size += ZEND_MM_CHUNK_SIZE;
12421242

12431243
#endif
1244+
ZEND_MM_UNPOISON_CHUNK_HDR(chunk);
12441245
}
12451246
heap->chunks_count++;
12461247
if (heap->chunks_count > heap->peak_chunks_count) {
12471248
heap->peak_chunks_count = heap->chunks_count;
12481249
}
1249-
ZEND_MM_UNPOISON_CHUNK_HDR(chunk);
12501250
zend_mm_chunk_init(heap, chunk);
12511251
ZEND_MM_UNPOISON_CHUNK_HDR(chunk);
12521252
page_num = ZEND_MM_FIRST_PAGE;

0 commit comments

Comments
 (0)