diff options
author | Dongyan Qian <qiandongyan@loongson.cn> | 2025-06-11 11:57:01 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-06-12 14:09:13 +0000 |
commit | ef516ea82d42c2ca37d1954262383787b80e1ba7 (patch) | |
tree | c4906e25b49f4358841da33a69e1cb53499731c4 /BaseTools/Source/Python | |
parent | 58d3345d8c71ce4ab1c3dbf57a08408f61c1c295 (diff) | |
download | edk2-ef516ea82d42c2ca37d1954262383787b80e1ba7.zip edk2-ef516ea82d42c2ca37d1954262383787b80e1ba7.tar.gz edk2-ef516ea82d42c2ca37d1954262383787b80e1ba7.tar.bz2 |
NetworkPkg/HttpUtilitiesDxe: Free handle buffers after LocateHandleBuffer
Fix memory leaks by adding missing FreePool calls:
free HandleBuffer in HttpUtilitiesDxeUnload.
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