diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-11 02:09:57 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-11 02:09:57 +0000 |
commit | fca1cc7199b5abcba465d51ac6f265b2253d68dd (patch) | |
tree | 1a23258e0cd997f291371f75c66a6e97d096c50f | |
parent | 3abd5df7d91f14c8755e4248370656fde4a32c05 (diff) | |
download | edk2-platforms-fca1cc7199b5abcba465d51ac6f265b2253d68dd.tar.xz |
Make use of MdePkg's FreePool library function to replace gBS->FreePool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6982 6f19259b-4bc3-4df7-8a09-765794883524
-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;
|