XTLDR Rewrite #7

Merged
belliash merged 184 commits from xtldr_rewrite into master 2024-01-09 18:51:04 +01:00
Showing only changes of commit 2864fdd790 - Show all commits

View File

@ -145,8 +145,9 @@ BlLoadModule(IN PWCHAR ModuleName)
return Status;
}
/* Read module file from disk and close EFI volume */
/* Read module file from disk and close directory and EFI volume */
Status = BlReadFile(DirHandle, ModuleFileName, &ModuleData, &ModuleSize);
DirHandle->Close(DirHandle);
BlCloseVolume(DiskHandle);
/* Make sure module file was read successfully */