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:
Radostin Stoyanov <rstoyanov1@gmail.com>
Showing
Please
register
or
sign in
to comment