diff options
author | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-03-14 06:40:26 +0000 |
---|---|---|
committer | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-03-14 06:40:26 +0000 |
commit | bf0f6c8321351303679d9bf020309c09c8c904eb (patch) | |
tree | 515bdeab850708e4b4996f181ca76a205714e0ee | |
parent | 94020bb40f12a9057aed2dfaa89ad35d644d704e (diff) | |
download | edk2-platforms-bf0f6c8321351303679d9bf020309c09c8c904eb.tar.xz |
Fix build fail.
Signed-off-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13096 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | IntelFrameworkModulePkg/Universal/SectionExtractionDxe/SectionExtraction.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/IntelFrameworkModulePkg/Universal/SectionExtractionDxe/SectionExtraction.c b/IntelFrameworkModulePkg/Universal/SectionExtractionDxe/SectionExtraction.c index e0e19e81a9..9300f4dfe0 100644 --- a/IntelFrameworkModulePkg/Universal/SectionExtractionDxe/SectionExtraction.c +++ b/IntelFrameworkModulePkg/Universal/SectionExtractionDxe/SectionExtraction.c @@ -724,7 +724,7 @@ CreateChildNode ( // Get the CompressionSectionHeader
//
if (Node->Size < sizeof (EFI_COMPRESSION_SECTION)) {
- CoreFreePool (Node);
+ FreePool (Node);
return EFI_NOT_FOUND;
}
@@ -778,8 +778,8 @@ CreateChildNode ( &ScratchSize
);
if (EFI_ERROR (Status) || (NewStreamBufferSize != UncompressedLength)) {
- CoreFreePool (Node);
- CoreFreePool (NewStreamBuffer);
+ FreePool (Node);
+ FreePool (NewStreamBuffer);
if (!EFI_ERROR (Status)) {
Status = EFI_BAD_BUFFER_SIZE;
}
@@ -804,8 +804,8 @@ CreateChildNode ( );
FreePool (ScratchBuffer);
if (EFI_ERROR (Status)) {
- CoreFreePool (Node);
- CoreFreePool (NewStreamBuffer);
+ FreePool (Node);
+ FreePool (NewStreamBuffer);
return Status;
}
}
|