diff options
| author | Dongyan Qian <qiandongyan@loongson.cn> | 2025-06-11 06:56:08 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-06-12 17:09:13 +0300 |
| commit | 58d3345d8c71ce4ab1c3dbf57a08408f61c1c295 (patch) | |
| tree | 301bc38b3b6c445938fefaa1dd5f75391256987b /MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.inf | |
| parent | f9408b7cc160030c3bb9627c8086a792cc2d046c (diff) | |
| download | edk2-58d3345d8c71ce4ab1c3dbf57a08408f61c1c295.tar.xz | |
MdeModulePkg/SpiBus: Free handle buffers after LocateHandleBuffer
Fix memory leaks by adding missing FreePool calls:
release SpiHcHandles in SpiBusEntry exit path.
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 'MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.inf')
0 files changed, 0 insertions, 0 deletions
