Skip to content
Commit 7ad74ec2 authored by Andrew Vagin's avatar Andrew Vagin Committed by Pavel Emelyanov
Browse files

rst-malloc: use rst_mem_alloc_cont to allocate arrays



rst_mem_alloc() returns alligned slices. When we want to
allocate an array element, we don't expect to get a hole between
a new element and an old one.

Signed-off-by: default avatarAndrew Vagin <avagin@virtuozzo.com>
Signed-off-by: default avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 7458b054
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment