Commit 0fab8997 authored by Bob Moore's avatar Bob Moore Committed by Len Brown

ACPICA: Fix memory leak in table load error path

Signed-off-by: default avatarAlexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 71392844
...@@ -413,7 +413,7 @@ acpi_ex_load_op(union acpi_operand_object *obj_desc, ...@@ -413,7 +413,7 @@ acpi_ex_load_op(union acpi_operand_object *obj_desc,
*/ */
status = acpi_tb_add_table(table_ptr, &table_index); status = acpi_tb_add_table(table_ptr, &table_index);
if (ACPI_FAILURE(status)) { if (ACPI_FAILURE(status)) {
return_ACPI_STATUS(status); goto cleanup;
} }
status = status =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment