mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 13:58:34 +00:00
core: Don't free not-allocated thread_info
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
f3b84d285e
commit
adf06b94cf
@ -288,6 +288,9 @@ err:
|
||||
|
||||
void arch_free_thread_info(CoreEntry *core)
|
||||
{
|
||||
if (!core->thread_info)
|
||||
return;
|
||||
|
||||
if (core->thread_info->fpregs->xsave)
|
||||
xfree(core->thread_info->fpregs->xsave->ymmh_space);
|
||||
xfree(core->thread_info->fpregs->st_space);
|
||||
|
Loading…
x
Reference in New Issue
Block a user