edk2/DynamicTablesPkg/Library/Common/AmlLib/CodeGen
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
..
AmlCodeGen.c DynamicTablesPkg: Update error handling for node creation 2021-10-08 15:39:42 +00:00
AmlResourceDataCodeGen.c DynamicTablesPkg: Clear pointer in node creation fcts 2021-10-08 15:39:42 +00:00
AmlResourceDataCodeGen.h DynamicTablesPkg: Rework AmlResourceDataCodegen.c/h 2021-10-01 10:57:43 +00:00