From e11805ec798bb0e2efdec961718b51f62f5dfba3 Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Sat, 21 Oct 2017 00:01:13 +0300 Subject: [PATCH] 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: Andrei Vagin --- criu/cr-restore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/criu/cr-restore.c b/criu/cr-restore.c index a294fce24..79e9a670f 100644 --- a/criu/cr-restore.c +++ b/criu/cr-restore.c @@ -3429,7 +3429,7 @@ 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 */ if (restore_wait_other_tasks()) - goto err; + goto err_nv; } /*