mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
OvmfPkg/QemuKernelLoaderFsDxe: fix allocation failure check
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
be720b8d6c
commit
89b595d115
1 changed files with 1 additions and 1 deletions
|
|
@ -1019,7 +1019,7 @@ QemuKernelFetchBlob (
|
|||
}
|
||||
|
||||
Blob = AllocatePool (sizeof (*Blob));
|
||||
if (Blob->Data == NULL) {
|
||||
if (Blob == NULL) {
|
||||
return EFI_OUT_OF_RESOURCES;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue