mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Allow to specify the wrap size in allocation
This commit is contained in:
parent
e0f7f9fa6f
commit
a457795e7c
3 changed files with 8 additions and 8 deletions
|
|
@ -63,7 +63,7 @@ void** malloc_nofail_vector_direct(int n, size_t size, void** freeptr)
|
|||
{
|
||||
void* ptr;
|
||||
|
||||
ptr = raid_malloc_vector_align(n, size, direct_size(), 0, freeptr);
|
||||
ptr = raid_malloc_vector_align(n, size, direct_size(), 0, 0, freeptr);
|
||||
|
||||
if (!ptr) {
|
||||
/* LCOV_EXCL_START */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue