Skip to content

Commit 66a5172

Browse files
danogarnaud-lb
andauthored
Update Zend/zend_alloc.c
Co-authored-by: Arnaud Le Blanc <[email protected]>
1 parent 91c783d commit 66a5172

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
@@ -3207,8 +3207,8 @@ ZEND_API void* ZEND_FASTCALL _erealloc(void *ptr, size_t size ZEND_FILE_LINE_DC
32073207

32083208
ZEND_API void* ZEND_FASTCALL _erealloc2(void *ptr, size_t size, size_t copy_size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC)
32093209
{
3210-
#if ZEND_MM_CUSTOM
32113210
ZEND_MM_UNPOISON_HEAP(AG(mm_heap));
3211+
#if ZEND_MM_CUSTOM
32123212
if (UNEXPECTED(AG(mm_heap)->use_custom_heap)) {
32133213
ptr = AG(mm_heap)->custom_heap._realloc(ptr, size ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_ORIG_RELAY_CC);
32143214
ZEND_MM_POISON_HEAP(AG(mm_heap));

0 commit comments

Comments
 (0)