diff options
| author | Peter Jones <pjones@redhat.com> | 2017-10-23 15:01:53 -0400 |
|---|---|---|
| committer | Peter Jones <pmjones@gmail.com> | 2018-03-12 16:21:43 -0400 |
| commit | 2fa2ec8c444114d4f408c2c74f6f8ea5229b0520 (patch) | |
| tree | e999553ffed4a04ed00f5fd01001cb7e0dc77836 | |
| parent | 802221cf62f2d76f76404102f87aed46d7f1d48c (diff) | |
| download | efi-boot-shim-2fa2ec8c444114d4f408c2c74f6f8ea5229b0520.tar.gz efi-boot-shim-2fa2ec8c444114d4f408c2c74f6f8ea5229b0520.zip | |
fallback: find_boot_options(): don't leak a file handle.
If we open it, we have to close it.
Signed-off-by: Peter Jones <pjones@redhat.com>
| -rw-r--r-- | fallback.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -911,6 +911,7 @@ find_boot_options(EFI_HANDLE device) } efi_status = find_boot_csv(fh3, fi->FileName); + uefi_call_wrapper(fh3->Close, 1, fh3); FreePool(buffer); buffer = NULL; if (efi_status == EFI_OUT_OF_RESOURCES) |
