diff options
author | Pierre Gondois <Pierre.Gondois@arm.com> | 2021-10-08 15:46:19 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-10-08 15:39:42 +0000 |
commit | 37bd08176ca7908ad5310c3b28b2e8ffb8a9eaa2 (patch) | |
tree | 69663761956aceab56fb57817e9b69643d7f40d9 /BaseTools/Source/Python/Ecc/MetaFileWorkspace/MetaDataTable.py | |
parent | 2dd7dd3952c78e1c3bc0e512be67a359a091215f (diff) | |
download | edk2-37bd08176ca7908ad5310c3b28b2e8ffb8a9eaa2.tar.gz edk2-37bd08176ca7908ad5310c3b28b2e8ffb8a9eaa2.tar.bz2 edk2-37bd08176ca7908ad5310c3b28b2e8ffb8a9eaa2.zip |
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>
Diffstat (limited to 'BaseTools/Source/Python/Ecc/MetaFileWorkspace/MetaDataTable.py')
0 files changed, 0 insertions, 0 deletions