fsck.f2fs: deal with realloc failure

Deal with realloc failure to avoid memory leak and memory free.

Change-Id: Ic0d01c03ef9390e3c9fd05c9bb386fa929698133
Signed-off-by: Xue Liu <liuxueliu.liu@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
1 file changed