diff options
Diffstat (limited to 'source/components/dispatcher/dsmethod.c')
| -rw-r--r-- | source/components/dispatcher/dsmethod.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/source/components/dispatcher/dsmethod.c b/source/components/dispatcher/dsmethod.c index 4f7901070282..97d52b87f4eb 100644 --- a/source/components/dispatcher/dsmethod.c +++ b/source/components/dispatcher/dsmethod.c @@ -409,7 +409,8 @@ AcpiDsCallControlMethod (      Info = ACPI_ALLOCATE_ZEROED (sizeof (ACPI_EVALUATE_INFO));      if (!Info)      { -        return_ACPI_STATUS (AE_NO_MEMORY); +        Status = AE_NO_MEMORY; +        goto Cleanup;      }      Info->Parameters = &ThisWalkState->Operands[0]; | 
