mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-10 13:28:41 +03:00
Move filling with MI_DEBUG_UNINIT out of _mi_page_malloc() into allocation functions
This mirrors how zero filling is handled.
This commit is contained in:
parent
1621b461c6
commit
9ef4e87743
3 changed files with 24 additions and 3 deletions
|
@ -148,6 +148,10 @@ void _mi_block_zero_init(const mi_page_t* page, void* p, size_t size);
|
|||
bool _mi_page_is_valid(mi_page_t* page);
|
||||
#endif
|
||||
|
||||
#if MI_DEBUG >= 2
|
||||
void _mi_debug_uninit_fill(void* p, size_t size);
|
||||
#endif
|
||||
|
||||
|
||||
// ------------------------------------------------------
|
||||
// Branches
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue