iASL: Fix incorrect memory allocation

Was using UtLocalCalloc instead of UtStringCacheCalloc.
Reported by Colin Ian King.
ACPICA BZ 1416
This commit is contained in:
Robert Moore 2017-09-01 08:09:52 -07:00
parent faa9fdfbd0
commit 8232c29974

View File

@ -356,7 +356,7 @@ UtCreateEscapeSequences (
/* New string buffer, 3 extra chars per escape (4 total) */
OutString = UtLocalCalloc (InStringLength + (EscapeCount * 3));
OutString = UtStringCacheCalloc (InStringLength + (EscapeCount * 3));
OutStringPtr = OutString;
/* Convert non-ascii or non-printable chars to escape sequences */