diff options
author | Jeff Fan <jeff.fan@intel.com> | 2016-11-15 10:10:02 +0800 |
---|---|---|
committer | Jeff Fan <jeff.fan@intel.com> | 2016-11-16 16:01:14 +0800 |
commit | e242cdfb307a6dfe2c0f75c4719f5c1f6b418625 (patch) | |
tree | 4331ed7b7a3e6a243d681b2fb494870ea51cdf89 /UefiCpuPkg/PiSmmCpuDxeSmm | |
parent | 2adf689cb7c66f4790a7d0a9e7e99aad6ebee638 (diff) | |
download | edk2-e242cdfb307a6dfe2c0f75c4719f5c1f6b418625.tar.gz edk2-e242cdfb307a6dfe2c0f75c4719f5c1f6b418625.tar.bz2 edk2-e242cdfb307a6dfe2c0f75c4719f5c1f6b418625.zip |
UefiCpuPkg/PiSmmCpuDxeSmm: Free SmramRanges to save SMM space
Cc: Zeng Star <star.zeng@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Zeng Star <star.zeng@intel.com>
Diffstat (limited to 'UefiCpuPkg/PiSmmCpuDxeSmm')
-rw-r--r-- | UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c b/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c index 852b5c7426..5f13446015 100644 --- a/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c +++ b/UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c @@ -1004,6 +1004,7 @@ FindSmramInfo ( }
} while (Found);
+ FreePool (SmramRanges);
DEBUG ((EFI_D_INFO, "SMRR Base: 0x%x, SMRR Size: 0x%x\n", *SmrrBase, *SmrrSize));
}
|