Skip to content
Commit 7166e3c9 authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

rst: Fix helpers memory allocation



Calling rst_mem_alloc() in a loop with increasing size causes the
n^2 memory grow :) since _alloc is not _realloc.

Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 49dc94ad
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