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/asloperands.c | |
parent | 0810e26699e1b40b9384eca2137be6155de0a5ba (diff) |
Notes
Diffstat (limited to 'source/compiler/asloperands.c')
-rw-r--r-- | source/compiler/asloperands.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/compiler/asloperands.c b/source/compiler/asloperands.c index 03403a39a8c8..9e5788fa123f 100644 --- a/source/compiler/asloperands.c +++ b/source/compiler/asloperands.c @@ -1037,7 +1037,7 @@ OpnDoDefinitionBlock ( * We will use the AML filename that is embedded in the source file * for the output filename. */ - Filename = UtStringCacheCalloc (strlen (Gbl_DirectoryPath) + + Filename = UtLocalCacheCalloc (strlen (Gbl_DirectoryPath) + strlen ((char *) Child->Asl.Value.Buffer) + 1); /* Prepend the current directory path */ @@ -1094,7 +1094,7 @@ OpnDoDefinitionBlock ( if (Child->Asl.Value.String) { Length = strlen (Child->Asl.Value.String); - Gbl_TableId = UtStringCacheCalloc (Length + 1); + Gbl_TableId = UtLocalCacheCalloc (Length + 1); strcpy (Gbl_TableId, Child->Asl.Value.String); /* |