From bf0f6c8321351303679d9bf020309c09c8c904eb Mon Sep 17 00:00:00 2001 From: ydong10 Date: Wed, 14 Mar 2012 06:40:26 +0000 Subject: [PATCH] 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 --- .../Universal/SectionExtractionDxe/SectionExtraction.c | 10 +++++----- 1 file 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; } }