Skip to content

Commit

Permalink
tests/runner: handle multiple calls to kernel_deinitialize correctly
Browse files Browse the repository at this point in the history
Signed-off-by: Daniil Tatianin <99danilt@gmail.com>
  • Loading branch information
d-tatianin committed Dec 19, 2024
1 parent 483b7e2 commit 0ea9f94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/runner/interface_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ uacpi_status uacpi_kernel_initialize(uacpi_init_level lvl)
void uacpi_kernel_deinitialize(void)
{
delete[] io_space;
io_space = nullptr;
}
#endif

Expand Down

0 comments on commit 0ea9f94

Please sign in to comment.