summaryrefslogtreecommitdiffstats
path: root/BaseTools/Plugin
diff options
context:
space:
mode:
authorZhou Jianfeng <jianfeng.zhou@intel.com>2025-04-29 09:58:48 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-05-06 16:25:46 +0000
commit28653a1c8a0c42bd598ba2677fc1b84fbb4e9c37 (patch)
tree7253bc954c876503f92b1421e09340582962f506 /BaseTools/Plugin
parentd6101acb083eb0b79e3ca35c18ea87003850e3c4 (diff)
downloadedk2-master.tar.gz
edk2-master.tar.bz2
edk2-master.zip
UefiCpuPkg/PiSmmCpuDxeSmm: Fix SMRAM memory leak during S3 resumeHEADmaster
SyncContext of SMM_DISPATCHER_MP_SYNC_DATA was dynamically allocated from SMRAM. The memory was not freed before reallocation in S3 resume path. This could lead to: 1. Memory leak in SMRAM. 2. Potential S3 resume failure after repeated S3 tests due to SMRAM exhaustion. This change releases the SyncContext memory before reallocating it Signed-off-by: Zhou Jianfeng <jianfeng.zhou@intel.com>
Diffstat (limited to 'BaseTools/Plugin')
0 files changed, 0 insertions, 0 deletions