Allow to specify the wrap size in allocation

This commit is contained in:
Andrea Mazzoleni 2026-06-06 09:48:29 +02:00
parent e0f7f9fa6f
commit a457795e7c
3 changed files with 8 additions and 8 deletions

View file

@ -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 */