瀏覽代碼

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>
Bob Moore 17 年之前
父節點
當前提交
a13b8460c5
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/acpi/executer/exconfig.c

+ 1 - 0
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);
 	}