Index: dsopcode.c =================================================================== RCS file: /usr/repo/src/sys/contrib/dev/acpica/dsopcode.c,v retrieving revision 1.1.1.25 diff -u -p -r1.1.1.25 dsopcode.c --- dsopcode.c 2 Jul 2004 08:13:41 -0000 1.1.1.25 +++ dsopcode.c 11 May 2005 18:30:57 -0000 @@ -176,6 +176,7 @@ AcpiDsExecuteArguments ( WalkState = AcpiDsCreateWalkState (0, NULL, NULL, NULL); if (!WalkState) { + AcpiPsDeleteParseTree (Op); return_ACPI_STATUS (AE_NO_MEMORY); } @@ -184,6 +185,7 @@ AcpiDsExecuteArguments ( if (ACPI_FAILURE (Status)) { AcpiDsDeleteWalkState (WalkState); + AcpiPsDeleteParseTree (Op); return_ACPI_STATUS (Status); } @@ -221,6 +223,7 @@ AcpiDsExecuteArguments ( WalkState = AcpiDsCreateWalkState (0, NULL, NULL, NULL); if (!WalkState) { + AcpiPsDeleteParseTree (Op); return_ACPI_STATUS (AE_NO_MEMORY); } @@ -231,6 +234,7 @@ AcpiDsExecuteArguments ( if (ACPI_FAILURE (Status)) { AcpiDsDeleteWalkState (WalkState); + AcpiPsDeleteParseTree (Op); return_ACPI_STATUS (Status); }