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
This commit is contained in:
qwang12 2008-12-11 02:09:57 +00:00
parent 3abd5df7d9
commit fca1cc7199
1 changed files with 7 additions and 7 deletions

View File

@ -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;