Skip to content

Commit a10238c

Browse files
committed
Fix
1 parent 5f7f9e8 commit a10238c

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
@@ -3176,10 +3176,12 @@ ZEND_API size_t zend_memory_peak_usage(bool real_usage)
31763176
ZEND_MM_UNPOISON_HEAP(AG(mm_heap));
31773177
ret = AG(mm_heap)->real_peak;
31783178
ZEND_MM_POISON_HEAP(AG(mm_heap));
3179+
return ret;
31793180
} else {
31803181
ZEND_MM_UNPOISON_HEAP(AG(mm_heap));
31813182
ret = AG(mm_heap)->peak;
31823183
ZEND_MM_POISON_HEAP(AG(mm_heap));
3184+
return ret;
31833185
}
31843186
#endif
31853187
return 0;

0 commit comments

Comments
 (0)