diff options
Diffstat (limited to 'MdeModulePkg/Library')
-rw-r--r-- | MdeModulePkg/Library/UefiIfrSupportLib/UefiIfrForm.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/MdeModulePkg/Library/UefiIfrSupportLib/UefiIfrForm.c b/MdeModulePkg/Library/UefiIfrSupportLib/UefiIfrForm.c index 7c6f0faa37..fb023c3994 100644 --- a/MdeModulePkg/Library/UefiIfrSupportLib/UefiIfrForm.c +++ b/MdeModulePkg/Library/UefiIfrSupportLib/UefiIfrForm.c @@ -638,16 +638,16 @@ ConstructConfigAltResp ( StrCat (TempStr, DescHdr + Index * 16);
StrCat (TempStr, AltCfg[Index]);
- gBS->FreePool (AltCfg[Index]);
+ FreePool (AltCfg[Index]);
}
if (NeedFreeConfigRequest) {
- gBS->FreePool (ConfigRequest);
+ FreePool (ConfigRequest);
}
- gBS->FreePool (ConfigHdr);
- gBS->FreePool (ConfigResp);
- gBS->FreePool (DescHdr);
- gBS->FreePool (AltCfg);
+ FreePool (ConfigHdr);
+ FreePool (ConfigResp);
+ FreePool (DescHdr);
+ FreePool (AltCfg);
return EFI_SUCCESS;
}
@@ -1088,7 +1088,7 @@ IsConfigHdrMatch ( if (EFI_ERROR (Status) || (StrCmp (Name, StorageName) != 0)) {
Match = FALSE;
}
- gBS->FreePool (Name);
+ FreePool (Name);
}
return Match;
|