Skip to content

Commit

Permalink
MdeModulePkg SmbiosMeasurementDxe: Release TableAddress after use
Browse files Browse the repository at this point in the history
Signed-off-by: Yang Gang <[email protected]>
  • Loading branch information
YangGangUEFI authored and lgao4 committed Dec 11, 2024
1 parent 58c7517 commit e02c784
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,10 @@ MeasureSmbiosTable (
if (!EFI_ERROR (Status)) {
gBS->CloseEvent (Event);
}

if (TableAddress != NULL) {
FreePool (TableAddress);
}
}

return;
Expand Down

0 comments on commit e02c784

Please sign in to comment.