audk/DynamicTablesPkg/Library/Common/AmlLib/Tree
Pierre Gondois 37bd08176c DynamicTablesPkg: Update error handling for node creation
The node creation functions:
- AmlCreateRootNode()
- AmlCreateObjectNode()
- AmlCreateDataNode()
are now resetting the input pointer where the created node is stored.
Thus, it is not necessary to set some local variables to NULL or
check a node value before trying to delete it.

Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
2021-10-08 15:39:42 +00:00
..
AmlClone.c DynamicTablesPkg: Update error handling for node creation 2021-10-08 15:39:42 +00:00
AmlNode.c DynamicTablesPkg: Clear pointer in node creation fcts 2021-10-08 15:39:42 +00:00
AmlNode.h DynamicTablesPkg: Clear pointer in node creation fcts 2021-10-08 15:39:42 +00:00
AmlNodeInterface.c DynamicTablesPkg: Set EndTag's Checksum if RdList is modified 2021-10-08 15:39:42 +00:00
AmlTree.c DynamicTablesPkg: Set EndTag's Checksum if RdList is modified 2021-10-08 15:39:42 +00:00
AmlTree.h
AmlTreeEnumerator.c DynamicTablesPkg: AML tree enumerator 2020-08-13 18:00:06 +00:00
AmlTreeIterator.c DynamicTablesPkg: AML tree iterator 2020-08-13 18:00:06 +00:00
AmlTreeIterator.h DynamicTablesPkg: AML tree iterator 2020-08-13 18:00:06 +00:00
AmlTreeTraversal.c DynamicTablesPkg: AML tree traversal 2020-08-13 18:00:06 +00:00
AmlTreeTraversal.h DynamicTablesPkg: AML tree traversal 2020-08-13 18:00:06 +00:00