Commit fff99f56 authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

cr-dump: fix double free

rasite_cure_seized frees parasite_ctl
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 48e5023c
......@@ -736,6 +736,7 @@ struct parasite_ctl *parasite_infect_seized(pid_t pid, struct list_head *vma_are
err_restore:
parasite_cure_seized(ctl);
return NULL;
err:
xfree(ctl);
......
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