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>
This commit is contained in:
parent
b4863baa68
commit
7e572cf69d
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user