summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.msa
diff options
context:
space:
mode:
authorAmrathesh <amrathesh@arm.com>2026-09-18 09:46:50 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-09-23 15:23:44 +0300
commit5846c662d04ec86a5f3bd56f323dc1c7b779b74b (patch)
tree04c72421e8b309dbb99dd65330974acde68a4b52 /MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.msa
parentaaa871e1ab6e3ba714165671ceb1f48a982b8850 (diff)
downloadedk2-5846c662d04ec86a5f3bd56f323dc1c7b779b74b.tar.xz
DynamicTablesPkg/AmlLib: Fix root node cleanup leak
AmlCreateRootNode() calls AmlDeleteRootNode() when SDT header allocation fails. However, AmlDeleteRootNode() rejects a NULL header and returns without freeing the root node, leaking the node allocation. Allow AmlDeleteRootNode() to handle a NULL SDT header and always free the root node. Signed-off-by: Amrathesh <amrathesh@arm.com>
Diffstat (limited to 'MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.msa')
0 files changed, 0 insertions, 0 deletions