Skip to content

Commit 86769da

Browse files
committed
Fix non-debug build
1 parent 12e9cca commit 86769da

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Zend/zend_alloc.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2572,8 +2572,10 @@ ZEND_API void zend_mm_shutdown(zend_mm_heap *heap, bool full, bool silent)
25722572
p->free_map[0] = (1L << ZEND_MM_FIRST_PAGE) - 1;
25732573
p->map[0] = ZEND_MM_LRUN(ZEND_MM_FIRST_PAGE);
25742574

2575+
#if ZEND_DEBUG
25752576
ZEND_ASSERT(getpid() == heap->pid
25762577
&& "heap was re-used without calling zend_mm_refresh_key_child() after a fork");
2578+
#endif
25772579

25782580
zend_mm_refresh_key(heap);
25792581
}

0 commit comments

Comments
 (0)