summaryrefslogtreecommitdiff
path: root/UnitTestFrameworkPkg/Library/UnitTestPersistenceLibSimpleFileSystem/UnitTestPersistenceLibSimpleFileSystem.c
diff options
context:
space:
mode:
authorAmrathesh <amrathesh@arm.com>2026-09-18 09:36:15 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-09-23 15:23:44 +0300
commitaaa871e1ab6e3ba714165671ceb1f48a982b8850 (patch)
treef57b5901789cff1f1911e0771313dabfd3ba8095 /UnitTestFrameworkPkg/Library/UnitTestPersistenceLibSimpleFileSystem/UnitTestPersistenceLibSimpleFileSystem.c
parent89c4bd09bb1860c8b7e8e95f8e8a15f9817348f4 (diff)
downloadedk2-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