diff options
| author | Jung-uk Kim <jkim@FreeBSD.org> | 2017-09-29 17:08:30 +0000 |
|---|---|---|
| committer | Jung-uk Kim <jkim@FreeBSD.org> | 2017-09-29 17:08:30 +0000 |
| commit | 2c673001fb88105f2d160032c4d4b76cb518e37f (patch) | |
| tree | 3fc3b6aef8822267bd455907a6fce55c3f98b2ed /source/compiler/aslcompiler.l | |
| parent | 0810e26699e1b40b9384eca2137be6155de0a5ba (diff) | |
Notes
Diffstat (limited to 'source/compiler/aslcompiler.l')
| -rw-r--r-- | source/compiler/aslcompiler.l | 4 |
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; |
