summaryrefslogtreecommitdiff
path: root/source/compiler/aslcompiler.l
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler/aslcompiler.l')
-rw-r--r--source/compiler/aslcompiler.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/compiler/aslcompiler.l b/source/compiler/aslcompiler.l
index 5fcfc1886770..a5d0ee9a7f32 100644
--- a/source/compiler/aslcompiler.l
+++ b/source/compiler/aslcompiler.l
@@ -813,7 +813,7 @@ NamePathTail [.]{NameSeg}
{NameSeg} { char *s;
count (0);
- s=UtStringCacheCalloc (ACPI_NAME_SIZE + 1);
+ s=UtLocalCacheCalloc (ACPI_NAME_SIZE + 1);
if (strcmp (AslCompilertext, "\\"))
{
strcpy (s, "____");
@@ -826,7 +826,7 @@ NamePathTail [.]{NameSeg}
{NameString} { char *s;
count (0);
- s=UtStringCacheCalloc (strlen (AslCompilertext)+1);
+ s=UtLocalCacheCalloc (strlen (AslCompilertext)+1);
AcpiUtStrupr (AslCompilertext);
strcpy (s, AslCompilertext);
AslCompilerlval.s = s;