summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Moore <Robert.Moore@intel.com>2018-10-23 10:13:33 -0700
committerRobert Moore <Robert.Moore@intel.com>2018-10-23 10:13:33 -0700
commitae65e825c8554bb392239ca21c6ff1179aa3fe6f (patch)
treeac9ca3c715d67cff9cbf42abc9d6852084969ee9
parent32e931f85433276430d3b9a30d41a9662f23fb69 (diff)
downloadacpica-ae65e825c8554bb392239ca21c6ff1179aa3fe6f.tar.gz
iASL/Preprocessor: Remove an incorrect use of ACPI_FREE
Leftover from converting the proprocessor to use the local memory cache. Individual allocations cannot use ACPI_FREE, this will cause a fault. Seen immediately with the #endif directive.
-rw-r--r--source/compiler/prscan.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/compiler/prscan.c b/source/compiler/prscan.c
index 580b47f0a..325569ed4 100644
--- a/source/compiler/prscan.c
+++ b/source/compiler/prscan.c
@@ -1259,7 +1259,6 @@ PrPopDirective (
AslGbl_DirectiveInfo[Info->Directive].Name,
Info->Argument, AslGbl_IgnoringThisCodeBlock ? "TRUE" : "FALSE");
- ACPI_FREE (Info);
return (AE_OK);
}