summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/executer/exconfig.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2008-04-10 19:06:39 +0400
committerLen Brown <len.brown@intel.com>2008-04-22 14:29:25 -0400
commita13b8460c5b43a68192b599ce437168cc2ff04de (patch)
tree0b371f11ac572fb35f45a36afcbd2def1bea2136 /drivers/acpi/executer/exconfig.c
parent61ce421bb761f607b802c268bd8bd6a0c928a661 (diff)
downloadop-kernel-dev-a13b8460c5b43a68192b599ce437168cc2ff04de.zip
op-kernel-dev-a13b8460c5b43a68192b599ce437168cc2ff04de.tar.gz
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 <robert.moore@intel.com> Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/executer/exconfig.c')
-rw-r--r--drivers/acpi/executer/exconfig.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/executer/exconfig.c b/drivers/acpi/executer/exconfig.c
index 8cc410c..a0f34b4 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);
}
OpenPOWER on IntegriCloud