2
0
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:
Pavel Emelyanov 2014-03-14 15:33:02 +04:00
parent f3b84d285e
commit adf06b94cf

View File

@ -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);