Skip to content

Commit

Permalink
fix: Early free of device nodes in AcpiDtbSsdtGenerator
Browse files Browse the repository at this point in the history
If the initial callback is called before ACPI protocols are ready,
the device nodes are freed before they are processed. This change
returns in this case instead of going to the cleanup code.

Fixes github issue NVIDIA#116
Bug 5079045

Signed-off-by: Jeff Brasen <[email protected]>
  • Loading branch information
jbrasen committed Jan 29, 2025
1 parent 8b181a3 commit 24317b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ AcpiProtocolReady (

Status = gBS->LocateProtocol (&gEfiAcpiTableProtocolGuid, NULL, (VOID **)&AcpiTableProtocol);
if (EFI_ERROR (Status)) {
goto Cleanup;
return;
}

gBS->CloseEvent (Event);
Expand Down

0 comments on commit 24317b5

Please sign in to comment.