mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2025-02-02 22:51:28 +01:00
FreePool differs from gBS->FreePool
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
This commit is contained in:
parent
dd079d4a9f
commit
28ad1105d3
@ -1264,14 +1264,14 @@ BdsLibGetImageHeader (
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (Status != EFI_BUFFER_TOO_SMALL) {
|
if (Status != EFI_BUFFER_TOO_SMALL) {
|
||||||
FreePool (Info);
|
gBS->FreePool (Info);
|
||||||
goto Done;
|
goto Done;
|
||||||
}
|
}
|
||||||
FreePool (Info);
|
gBS->FreePool (Info);
|
||||||
} while (TRUE);
|
} while (TRUE);
|
||||||
|
|
||||||
FileSize = Info->FileSize;
|
FileSize = Info->FileSize;
|
||||||
FreePool (Info);
|
gBS->FreePool (Info);
|
||||||
|
|
||||||
//
|
//
|
||||||
// Read dos header
|
// Read dos header
|
||||||
|
Loading…
Reference in New Issue
Block a user