summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python
diff options
context:
space:
mode:
authorDongyan Qian <qiandongyan@loongson.cn>2025-06-11 11:57:22 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-06-12 14:09:13 +0000
commitddacfa238aa99399256897df2e193a5a730dee29 (patch)
tree2183838a3b7fead158a218eb555bf8c64d0db7c8 /BaseTools/Source/Python
parentef516ea82d42c2ca37d1954262383787b80e1ba7 (diff)
downloadedk2-ddacfa238aa99399256897df2e193a5a730dee29.zip
edk2-ddacfa238aa99399256897df2e193a5a730dee29.tar.gz
edk2-ddacfa238aa99399256897df2e193a5a730dee29.tar.bz2
PrmPkg/DxePrmContextBufferLib: Free handle buffers after LocateHandleBuffer
Fix memory leaks by adding missing FreePool calls: cleanup HandleBuffer in GetModuleContextBuffers. REF: https://uefi.org/sites/default/files/resources/UEFI_Spec_Final_2.11.pdf Chapter 7.3.15: "Services - Boot Services.LocateHandleBuffer": It is the caller's responsibility to call the Boot Service.FreePool when the caller no longer requires the contents of Buffer. Signed-off-by: Dongyan Qian <qiandongyan@loongson.cn>
Diffstat (limited to 'BaseTools/Source/Python')
0 files changed, 0 insertions, 0 deletions