diff options
| author | Qihang Gao <gaoqihang@loongson.cn> | 2026-09-18 11:16:05 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-09-25 15:42:52 +0300 |
| commit | 76c4633bb7082abd9e54c3c829c1db4b5f3ee906 (patch) | |
| tree | a2b73f89696775911708859ad0e1b15e554e69b0 /MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.msa | |
| parent | 358e0a5a878b25154c3dd310232ed31edfd2c1db (diff) | |
| download | edk2-76c4633bb7082abd9e54c3c829c1db4b5f3ee906.tar.xz | |
MdeModulePkg/SetupBrowserDxe: Fix memory leak in GetQuestionDefault()
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
