diff options
author | Gabriel Marcano <gabemarcano@yahoo.com> | 2023-02-17 16:00:57 -0800 |
---|---|---|
committer | Gabriel Marcano <gabemarcano@yahoo.com> | 2023-02-17 16:00:57 -0800 |
commit | 336fdaf54c7b95d51eaf1bed4cf5463b0d5668ec (patch) | |
tree | 536fe2e16ca59f0b51bc82f133c2a1afc7a965b1 /source | |
parent | c9e01891e1382afcaee24018c99a18e4db076f10 (diff) | |
download | acpica-336fdaf54c7b95d51eaf1bed4cf5463b0d5668ec.tar.gz |
iasl: Set AcpiGbl_ParseOpRoot to NULL when freed
Most invocations of `AcpiPsDeleteParseTree (AcpiGbl_ParseOpRoot);` are
followed by `AcpiGbl_ParseOpRoot = NULL;`, but there was one which was
missing this. Fixes #841.
Diffstat (limited to 'source')
-rw-r--r-- | source/common/adisasm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/common/adisasm.c b/source/common/adisasm.c index 5feb501a7..ccb98bfe0 100644 --- a/source/common/adisasm.c +++ b/source/common/adisasm.c @@ -789,6 +789,7 @@ AdDoExternalFileList ( AcpiDmFinishNamespaceLoad (AcpiGbl_ParseOpRoot, AcpiGbl_RootNode, OwnerId); AcpiPsDeleteParseTree (AcpiGbl_ParseOpRoot); + AcpiGbl_ParseOpRoot = NULL; ExternalListHead = ExternalListHead->Next; } |