diff options
| author | Amrathesh <amrathesh@arm.com> | 2026-09-18 09:46:50 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-09-23 15:23:44 +0300 |
| commit | 5846c662d04ec86a5f3bd56f323dc1c7b779b74b (patch) | |
| tree | 04c72421e8b309dbb99dd65330974acde68a4b52 /MdePkg/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.msa | |
| parent | aaa871e1ab6e3ba714165671ceb1f48a982b8850 (diff) | |
| download | edk2-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
