Commit 33fb955e authored by Andrei Vagin's avatar Andrei Vagin Committed by Andrei Vagin

restore: don't call free_mappings for an uninitialized list

    vma_area_list@entry=0x818) at criu/cr-dump.c:107
107             list_for_each_entry_safe(vma_area, p, &vma_area_list->h, list)
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 4d164327
......@@ -3232,7 +3232,8 @@ static int sigreturn_restore(pid_t pid, struct task_restore_args *task_args, uns
if (current->parent == NULL) {
/* Wait when all tasks restored all files */
restore_wait_other_tasks();
if (restore_wait_other_tasks())
goto err_nv;
}
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment