vcpkg/ports/mimalloc/add_ref_to_page_malloc_zero.patch
Nick D'Ademo d8e2b83a6b
[mimalloc] update to 2.1.7 (#39650)
Co-authored-by: Nick D'Ademo <dademo.n@duerr-ndt.com>
2024-07-15 13:40:01 -04:00

13 lines
405 B
Diff

diff --git a/src/alloc.c b/src/alloc.c
index 86aaae75..b543e859 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -584,6 +584,7 @@ mi_decl_nodiscard void* mi_new_reallocn(void* p, size_t newcount, size_t size) {
#ifdef __cplusplus
void* _mi_externs[] = {
(void*)&_mi_page_malloc,
+ (void*)&_mi_page_malloc_zero,
(void*)&_mi_heap_malloc_zero,
(void*)&_mi_heap_malloc_zero_ex,
(void*)&mi_malloc,