]> err.no Git - linux-2.6/commitdiff
ACPICA: Fix for memory leak related to DdbHandle objects
authorBob Moore <robert.moore@intel.com>
Thu, 10 Apr 2008 15:06:39 +0000 (19:06 +0400)
committerLen Brown <len.brown@intel.com>
Tue, 22 Apr 2008 18:29:25 +0000 (14:29 -0400)
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>
drivers/acpi/executer/exconfig.c

index 8cc410ce9208027cd4d59b5c27c271f7ac0b2dce..a0f34b467a22bc361c0f88fb97d42d000b67eddf 100644 (file)
@@ -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);
        }