diff options
Diffstat (limited to 'source/components/tables/tbutils.c')
-rw-r--r-- | source/components/tables/tbutils.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/components/tables/tbutils.c b/source/components/tables/tbutils.c index 0d9375e40..fd77fd05a 100644 --- a/source/components/tables/tbutils.c +++ b/source/components/tables/tbutils.c @@ -703,7 +703,12 @@ AcpiTbParseRootTable ( /* There is no more room in the root table array, attempt resize */ Status = AcpiTbResizeRootTableList (); - if (ACPI_FAILURE (Status)) + if (Status == AE_NO_MEMORY) + { + AcpiOsUnmapMemory (Table, Length); + return_ACPI_STATUS (Status); + } + else if (ACPI_FAILURE (Status)) { ACPI_WARNING ((AE_INFO, "Truncating %u table entries!", (unsigned) (TableCount - |