summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLib.c
diff options
context:
space:
mode:
authorQihang Gao <gaoqihang@loongson.cn>2026-09-18 10:49:47 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-09-25 15:42:52 +0300
commitecee358dea7be4ba4730067e45951938d10ae723 (patch)
treeeeba449cf77c03c431f4d9bb64254595eb2052a2 /MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLib.c
parent12478683adf32afcb48925324d4cee84f2e006d4 (diff)
downloadedk2-ecee358dea7be4ba4730067e45951938d10ae723.tar.xz
ShellPkg/UefiShellDebug1CommandsLib: Fix memory leaks in help display
HiiGetString() returns a dynamically allocated string that must be released with FreePool(). In MainCommandDisplayHelp() and HMainCommandDisplayHelp(), the returned InfoString is printed but never freed, leaking memory each time the help screen is displayed. Release InfoString after ShellPrintEx() in both functions. No functional change intended. Signed-off-by: Qihang Gao <gaoqihang@loongson.cn>
Diffstat (limited to 'MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLib.c')
0 files changed, 0 insertions, 0 deletions