diff options
author | Hot Tian <hot.tian@intel.com> | 2014-12-23 08:33:06 +0000 |
---|---|---|
committer | hhtian <hhtian@Edk2> | 2014-12-23 08:33:06 +0000 |
commit | 736a692e7c0210eb71c01c39731ef97383d606eb (patch) | |
tree | b725908cfad8ca1e6c49d3b91f4feb34197d3543 /MdeModulePkg/Core/Dxe/Mem/Pool.c | |
parent | b947f0cf4431769ded585ac7fd57ab1744149b26 (diff) | |
download | edk2-platforms-736a692e7c0210eb71c01c39731ef97383d606eb.tar.xz |
MdeModulePkg: fix mixed dos and linux EOL format issue
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hot Tian <hot.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16552 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core/Dxe/Mem/Pool.c')
-rw-r--r-- | MdeModulePkg/Core/Dxe/Mem/Pool.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/MdeModulePkg/Core/Dxe/Mem/Pool.c b/MdeModulePkg/Core/Dxe/Mem/Pool.c index 6bf289b38f..a40ddd51bd 100644 --- a/MdeModulePkg/Core/Dxe/Mem/Pool.c +++ b/MdeModulePkg/Core/Dxe/Mem/Pool.c @@ -433,13 +433,13 @@ CoreFreePool ( )
{
EFI_STATUS Status;
- - Status = CoreInternalFreePool (Buffer); - if (!EFI_ERROR (Status)) { - CoreUpdateProfile ((EFI_PHYSICAL_ADDRESS) (UINTN) RETURN_ADDRESS (0), MemoryProfileActionFreePool, (EFI_MEMORY_TYPE) 0, 0, Buffer); - } - return Status; -} +
+ Status = CoreInternalFreePool (Buffer);
+ if (!EFI_ERROR (Status)) {
+ CoreUpdateProfile ((EFI_PHYSICAL_ADDRESS) (UINTN) RETURN_ADDRESS (0), MemoryProfileActionFreePool, (EFI_MEMORY_TYPE) 0, 0, Buffer);
+ }
+ return Status;
+}
/**
Internal function to free a pool entry.
|