diff options
Diffstat (limited to 'source/compiler/dtsubtable.c')
-rw-r--r-- | source/compiler/dtsubtable.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/compiler/dtsubtable.c b/source/compiler/dtsubtable.c index 90cb067..a87198d 100644 --- a/source/compiler/dtsubtable.c +++ b/source/compiler/dtsubtable.c @@ -75,11 +75,11 @@ DtCreateSubtable ( DT_SUBTABLE *Subtable; - Subtable = UtLocalCalloc (sizeof (DT_SUBTABLE)); + Subtable = UtSubtableCacheCalloc (); /* Create a new buffer for the subtable data */ - Subtable->Buffer = UtLocalCalloc (Length); + Subtable->Buffer = ACPI_CAST_PTR (UINT8, UtStringCacheCalloc (Length)); ACPI_MEMCPY (Subtable->Buffer, Buffer, Length); Subtable->Length = Length; |