mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-23 13:44:33 +02:00
MdeModulePkg SmbiosMeasurementDxe: Release TableAddress after use
Signed-off-by: Yang Gang <yanggang@byosoft.com.cn>
This commit is contained in:
parent
58c7517228
commit
e02c7848af
@ -637,6 +637,10 @@ MeasureSmbiosTable (
|
||||
if (!EFI_ERROR (Status)) {
|
||||
gBS->CloseEvent (Event);
|
||||
}
|
||||
|
||||
if (TableAddress != NULL) {
|
||||
FreePool (TableAddress);
|
||||
}
|
||||
}
|
||||
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user