MdeModulePkg SmbiosMeasurementDxe: Release TableAddress after use
Signed-off-by: Yang Gang <yanggang@byosoft.com.cn>
This commit is contained in:
@@ -637,6 +637,10 @@ MeasureSmbiosTable (
|
||||
if (!EFI_ERROR (Status)) {
|
||||
gBS->CloseEvent (Event);
|
||||
}
|
||||
|
||||
if (TableAddress != NULL) {
|
||||
FreePool (TableAddress);
|
||||
}
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user