From: Bob Moore Date: Thu, 10 Apr 2008 15:06:39 +0000 (+0400) Subject: ACPICA: Fix for memory leak related to DdbHandle objects X-Git-Tag: v2.6.26-rc1~101^2~48 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a13b8460c5b43a68192b599ce437168cc2ff04de;p=linux-2.6-omap-h63xx.git ACPICA: Fix for memory leak related to DdbHandle objects Fixed a memory leak where DdbHandle objects were not deleted automatically at control method exit. Signed-off-by: Bob Moore Signed-off-by: Alexey Starikovskiy Signed-off-by: Len Brown --- diff --git a/drivers/acpi/executer/exconfig.c b/drivers/acpi/executer/exconfig.c index 8cc410ce920..a0f34b467a2 100644 --- a/drivers/acpi/executer/exconfig.c +++ b/drivers/acpi/executer/exconfig.c @@ -366,6 +366,7 @@ acpi_ex_load_op(union acpi_operand_object *obj_desc, /* table_ptr was deallocated above */ + acpi_ut_remove_reference(ddb_handle); return_ACPI_STATUS(status); }