summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/ExtendedIfrSupportLib/Form.c
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-16 03:05:41 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-16 03:05:41 +0000
commitcfb9b643f74f52183ef1022aaf24534b0ea78e47 (patch)
tree9eb84eae6717ca812005ad3489f16de1d98e05ce /MdeModulePkg/Library/ExtendedIfrSupportLib/Form.c
parentf4bcc90f0b2898d4ad2186175610cc77dbc5a174 (diff)
downloadedk2-platforms-cfb9b643f74f52183ef1022aaf24534b0ea78e47.tar.xz
Clean up ExtendedIfrSupportLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5486 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library/ExtendedIfrSupportLib/Form.c')
-rw-r--r--MdeModulePkg/Library/ExtendedIfrSupportLib/Form.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/MdeModulePkg/Library/ExtendedIfrSupportLib/Form.c b/MdeModulePkg/Library/ExtendedIfrSupportLib/Form.c
index ea9079ea0f..ae8956afdb 100644
--- a/MdeModulePkg/Library/ExtendedIfrSupportLib/Form.c
+++ b/MdeModulePkg/Library/ExtendedIfrSupportLib/Form.c
@@ -264,7 +264,7 @@ UpdateFormPackageData (
Fail:
if (!Updated) {
- gBS->FreePool (*TempBuffer);
+ FreePool (*TempBuffer);
*TempBufferSize = 0;
return EFI_NOT_FOUND;
}
@@ -335,7 +335,7 @@ IfrLibUpdateForm (
Status = HiiDatabase->ExportPackageLists (HiiDatabase, Handle, &BufferSize, HiiPackageList);
if (EFI_ERROR (Status)) {
- gBS->FreePool (HiiPackageList);
+ FreePool (HiiPackageList);
return Status;
}
}
@@ -370,7 +370,7 @@ IfrLibUpdateForm (
}
CopyMem (UpdateBufferPos, TempBuffer, TempBufferSize);
UpdateBufferPos += TempBufferSize;
- gBS->FreePool (TempBuffer);
+ FreePool (TempBuffer);
continue;
}
}
@@ -380,7 +380,7 @@ IfrLibUpdateForm (
} else if (Status == EFI_NOT_FOUND) {
break;
} else {
- gBS->FreePool (HiiPackageList);
+ FreePool (HiiPackageList);
return Status;
}
}
@@ -391,7 +391,7 @@ IfrLibUpdateForm (
BufferSize = UpdateBufferPos - (UINT8 *) UpdateBuffer;
CopyMem (&UpdateBuffer->PackageLength, &BufferSize, sizeof (UINT32));
- gBS->FreePool (HiiPackageList);
+ FreePool (HiiPackageList);
return HiiDatabase->UpdatePackageList (HiiDatabase, Handle, UpdateBuffer);
}