mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-06 23:39:31 +03:00
fix count/size order in mi_heap_alloc_new_n, issue #906
This commit is contained in:
parent
d68a7fc3e6
commit
03020fbf81
1 changed files with 1 additions and 1 deletions
|
@ -530,7 +530,7 @@ mi_decl_nodiscard mi_decl_restrict void* mi_heap_alloc_new_n(mi_heap_t* heap, si
|
|||
}
|
||||
|
||||
mi_decl_nodiscard mi_decl_restrict void* mi_new_n(size_t count, size_t size) {
|
||||
return mi_heap_alloc_new_n(mi_prim_get_default_heap(), size, count);
|
||||
return mi_heap_alloc_new_n(mi_prim_get_default_heap(), count, size);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue