diff options
| author | Jung-uk Kim <jkim@FreeBSD.org> | 2018-09-27 16:43:02 +0000 |
|---|---|---|
| committer | Jung-uk Kim <jkim@FreeBSD.org> | 2018-09-27 16:43:02 +0000 |
| commit | 73d55968743da26d1ff63e9939f191d217aea206 (patch) | |
| tree | ffb27de4d7c207dd7aeebd04b24e04f85d23b8dc /source/compiler/aslopt.c | |
| parent | c6014c64fcfd099d0087da3509e8a623d2c30209 (diff) | |
Notes
Diffstat (limited to 'source/compiler/aslopt.c')
| -rw-r--r-- | source/compiler/aslopt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/compiler/aslopt.c b/source/compiler/aslopt.c index 57be9c8cc393..4e53a4b0ac4c 100644 --- a/source/compiler/aslopt.c +++ b/source/compiler/aslopt.c @@ -406,7 +406,7 @@ OptBuildShortestPath ( * Construct a new target string */ NewPathExternal = - ACPI_ALLOCATE_ZEROED (TargetPath->Length + NumCarats + 1); + UtLocalCacheCalloc (TargetPath->Length + NumCarats + 1); /* Insert the Carats into the Target string */ @@ -679,7 +679,7 @@ OptOptimizeNamePath ( /* This is an optional optimization */ - if (!Gbl_ReferenceOptimizationFlag) + if (!AslGbl_ReferenceOptimizationFlag) { return_VOID; } |
