Skip to content

Commit 193962c

Browse files
committed
Fix
1 parent 1880729 commit 193962c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Zend/zend_alloc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1649,8 +1649,8 @@ static zend_always_inline void *zend_mm_alloc_heap(zend_mm_heap *heap, size_t si
16491649
} else if (EXPECTED(size <= ZEND_MM_MAX_LARGE_SIZE)) {
16501650
ptr = zend_mm_alloc_large(heap, size ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_ORIG_RELAY_CC);
16511651
#if ZEND_DEBUG
1652-
ZEND_MM_UNPOISON_DEBUGINFO(dbg);
16531652
dbg = zend_mm_get_debug_info(heap, ptr);
1653+
ZEND_MM_UNPOISON_DEBUGINFO(dbg);
16541654
dbg->size = real_size;
16551655
dbg->filename = __zend_filename;
16561656
dbg->orig_filename = __zend_orig_filename;
@@ -1922,8 +1922,8 @@ static zend_always_inline void *zend_mm_realloc_heap(zend_mm_heap *heap, void *p
19221922
}
19231923

19241924
#if ZEND_DEBUG
1925-
ZEND_MM_UNPOISON_DEBUGINFO(dbg);
19261925
dbg = zend_mm_get_debug_info(heap, ret);
1926+
ZEND_MM_UNPOISON_DEBUGINFO(dbg);
19271927
dbg->size = real_size;
19281928
dbg->filename = __zend_filename;
19291929
dbg->orig_filename = __zend_orig_filename;

0 commit comments

Comments
 (0)