Index: exconfig.c =================================================================== RCS file: /usr/repo/src/sys/contrib/dev/acpica/exconfig.c,v retrieving revision 1.1.1.24 diff -u -p -r1.1.1.24 exconfig.c --- exconfig.c 1 Dec 2004 23:13:43 -0000 1.1.1.24 +++ exconfig.c 11 May 2005 19:08:09 -0000 @@ -477,6 +477,7 @@ AcpiExLoadOp ( if (TablePtr->Length < sizeof (ACPI_TABLE_HEADER)) { + AcpiUtRemoveReference (BufferDesc); return_ACPI_STATUS (AE_BAD_HEADER); } break; @@ -518,6 +519,8 @@ AcpiExLoadOp ( (void) AcpiExUnloadTable (DdbHandle); } + if (BufferDesc) + AcpiUtRemoveReference (BufferDesc); return_ACPI_STATUS (Status);