audk/DynamicTablesPkg/Library
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
..
Acpi/Arm DynamicTablesPkg: Remove unnecessary includes 2021-10-08 15:39:42 +00:00
Common DynamicTablesPkg: Update error handling for node creation 2021-10-08 15:39:42 +00:00