mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-10 09:40:53 +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;
|
||||
}
|
||||
if (Status != EFI_BUFFER_TOO_SMALL) {
|
||||
FreePool (Info);
|
||||
gBS->FreePool (Info);
|
||||
goto Done;
|
||||
}
|
||||
FreePool (Info);
|
||||
gBS->FreePool (Info);
|
||||
} while (TRUE);
|
||||
|
||||
FileSize = Info->FileSize;
|
||||
FreePool (Info);
|
||||
gBS->FreePool (Info);
|
||||
|
||||
//
|
||||
// Read dos header
|
||||
|
Loading…
Reference in New Issue
Block a user