Commit c07a4b2c authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

restore: Don't forget to close file descriptors on VMAs

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@gmail.com>
parent b9d0883d
......@@ -245,6 +245,9 @@ self_len_end:
write_hex_n(va);
goto core_restore_end;
}
if (vma_entry.fd != -1UL)
sys_close(vma_entry.fd);
}
/*
......
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