summaryrefslogtreecommitdiff
path: root/kjarna/efi/runtime.c
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2024-02-15 22:51:17 +0000
committerAda Christine <adachristine18@gmail.com>2024-02-15 22:51:17 +0000
commit0b62b5cd53c5ae58fe724db7d84d351466a161c9 (patch)
tree205b35cfe363605d531fe282ae7b2d1c6a9e6fa5 /kjarna/efi/runtime.c
parent96ff1a24a7474b91c44a3dcd6f3abf3ec0542191 (diff)
free resources
Diffstat (limited to 'kjarna/efi/runtime.c')
-rw-r--r--kjarna/efi/runtime.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kjarna/efi/runtime.c b/kjarna/efi/runtime.c
index 5f2e7e1..d9be2df 100644
--- a/kjarna/efi/runtime.c
+++ b/kjarna/efi/runtime.c
@@ -124,6 +124,7 @@ static struct runtime_buffer load_runtime(void)
buffer.base = nullptr;
}
+ efi_close(runtime_fd);
efi_free_pool(phdrs);
return buffer;