Skip to content

Commit 7b13735

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

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
@@ -3160,8 +3160,8 @@ ZEND_API void ZEND_FASTCALL _efree_huge(void *ptr, size_t size)
31603160

31613161
ZEND_API void* ZEND_FASTCALL _emalloc(size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC)
31623162
{
3163-
#if ZEND_MM_CUSTOM
31643163
ZEND_MM_UNPOISON_HEAP(AG(mm_heap));
3164+
#if ZEND_MM_CUSTOM
31653165
if (UNEXPECTED(AG(mm_heap)->use_custom_heap)) {
31663166
void *ptr = AG(mm_heap)->custom_heap._malloc(size ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_ORIG_RELAY_CC); \
31673167
ZEND_MM_POISON_HEAP(AG(mm_heap));

0 commit comments

Comments
 (0)