MdeModulePkg SmbiosMeasurementDxe: Release TableAddress after use

Signed-off-by: Yang Gang <yanggang@byosoft.com.cn>
This commit is contained in:
Yang Gang 2024-12-06 16:43:41 +08:00 committed by Liming Gao
parent 58c7517228
commit e02c7848af

View File

@ -637,6 +637,10 @@ MeasureSmbiosTable (
if (!EFI_ERROR (Status)) {
gBS->CloseEvent (Event);
}
if (TableAddress != NULL) {
FreePool (TableAddress);
}
}
return;