diff options
| author | Qihang Gao <gaoqihang@loongson.cn> | 2026-09-18 10:56:49 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-09-25 15:42:52 +0300 |
| commit | 358e0a5a878b25154c3dd310232ed31edfd2c1db (patch) | |
| tree | b07a4cb1989a51ef0f626df70eae47d9bfd993fa /MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.msa | |
| parent | ecee358dea7be4ba4730067e45951938d10ae723 (diff) | |
| download | edk2-358e0a5a878b25154c3dd310232ed31edfd2c1db.tar.xz | |
RedfishPkg/HiiUtilityLib: Fix memory leak in HiiUtilityInternal
StrValue is obtained from HiiGetString(), which allocates a new string
buffer. The buffer is used to set DefaultValue->Buffer but is never
released, causing a memory leak each time this code path is executed.
Add FreePool (StrValue) after it is no longer needed.
No functional change intended.
Signed-off-by: Qihang Gao <gaoqihang@loongson.cn>
Diffstat (limited to 'MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.msa')
0 files changed, 0 insertions, 0 deletions
