mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-07 15:59:32 +03:00
Merge branch 'dev-reset' into dev-slice-reset
This commit is contained in:
commit
0be48b19a7
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ static mi_decl_noinline void* mi_heap_malloc_zero_aligned_at_fallback(mi_heap_t*
|
||||||
// for the tracker, on huge aligned allocations only from the start of the large block is defined
|
// for the tracker, on huge aligned allocations only from the start of the large block is defined
|
||||||
mi_track_mem_undefined(aligned_p, size);
|
mi_track_mem_undefined(aligned_p, size);
|
||||||
if (zero) {
|
if (zero) {
|
||||||
_mi_memzero(aligned_p, mi_usable_size(aligned_p));
|
_mi_memzero_aligned(aligned_p, mi_usable_size(aligned_p));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue