Skip to content
Commit 8d1dfd3c authored by Radostin Stoyanov's avatar Radostin Stoyanov Committed by Andrei Vagin
Browse files

mount: realloc info->source when resolve ext mount



Use realloc() to change the size of the memory block pointed
to by info->source instead of allocating new memory area and
releasing the old one. If info->source is NULL then the call
is equivalent to malloc(size).

Signed-off-by: default avatarRadostin Stoyanov <rstoyanov1@gmail.com>
parent b76d864e
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