summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/executer/exconfig.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2008-04-10 17:06:39 +0200
committerLen Brown <len.brown@intel.com>2008-04-22 20:29:25 +0200
commita13b8460c5b43a68192b599ce437168cc2ff04de (patch)
tree0b371f11ac572fb35f45a36afcbd2def1bea2136 /drivers/acpi/executer/exconfig.c
parentACPICA: Fix a fault when storing DdbHandle to Debug object (diff)
downloadlinux-a13b8460c5b43a68192b599ce437168cc2ff04de.tar.xz
linux-a13b8460c5b43a68192b599ce437168cc2ff04de.zip
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 8cc410ce9208..a0f34b467a22 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);
}