diff options
| author | Amrathesh <amrathesh@arm.com> | 2026-09-18 09:36:15 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-09-23 15:23:44 +0300 |
| commit | aaa871e1ab6e3ba714165671ceb1f48a982b8850 (patch) | |
| tree | f57b5901789cff1f1911e0771313dabfd3ba8095 /UnitTestFrameworkPkg/Library/UnitTestPersistenceLibSimpleFileSystem/UnitTestPersistenceLibSimpleFileSystem.c | |
| parent | 89c4bd09bb1860c8b7e8e95f8e8a15f9817348f4 (diff) | |
| download | edk2-aaa871e1ab6e3ba714165671ceb1f48a982b8850.tar.xz | |
DynamicTablesPkg/AmlLib: Fix data node cleanup leak
AmlCreateDataNode() calls AmlDeleteDataNode() when buffer allocation
fails. However, AmlDeleteDataNode() rejects a NULL buffer and returns
without freeing the data node, leaking the node allocation.
Allow AmlDeleteDataNode() to handle a NULL buffer and always free the
data node.
Signed-off-by: Amrathesh <amrathesh@arm.com>
Diffstat (limited to 'UnitTestFrameworkPkg/Library/UnitTestPersistenceLibSimpleFileSystem/UnitTestPersistenceLibSimpleFileSystem.c')
0 files changed, 0 insertions, 0 deletions
