summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2019-06-01 20:54:32 +0200
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2019-06-01 22:40:24 +0200
commit7e572cf69d3e1756ee79ca29cee5bbb317f35f6b (patch)
treed8817150151d0d2700e2bd22727685b10e671682 /lib
parentb4863baa68dd589092a9823f8c0bc513c24dc3a3 (diff)
efi_loader: CloseProtocol() fix open protocol information
CloseProtocol() must delete all open protocol information records relating to import parameters not only one. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_loader/efi_boottime.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c
index 1a0e09807a..5c6bc691a5 100644
--- a/lib/efi_loader/efi_boottime.c
+++ b/lib/efi_loader/efi_boottime.c
@@ -2056,7 +2056,6 @@ static efi_status_t EFIAPI efi_close_protocol(efi_handle_t handle,
item->info.controller_handle == controller_handle) {
efi_delete_open_info(item);
r = EFI_SUCCESS;
- break;
}
}
out: