提交 d3ada7c0 编写于 作者: V vit9696

OcBootManagementLib: Fix missing file close

上级 cc1ba529
......@@ -237,6 +237,9 @@ IsOpenCoreBootloader (
sizeof (FileReadMagic),
FileReadMagic
);
File->Close(File);
if (EFI_ERROR (Status)) {
return FALSE;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册