mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
OcAppleKernelLib: Fix memory initialisation
This commit is contained in:
parent
dde7432b62
commit
6f795d6a80
@ -411,6 +411,7 @@ ReadAppleKernel (
|
||||
ASSERT (KernelSize != NULL);
|
||||
ASSERT (AllocatedSize != NULL);
|
||||
|
||||
*Is32Bit = FALSE;
|
||||
*KernelSize = 0;
|
||||
*AllocatedSize = KERNEL_HEADER_SIZE;
|
||||
*Kernel = AllocatePool (*AllocatedSize);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user