mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 22:05:36 +00:00
core: Don't free not-allocated thread_info
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user