ACPICA: Fix memory leak in table load error path
Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
7139284460
commit
0fab8997f1
1 changed files with 1 additions and 1 deletions
|
@ -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 =
|
||||||
|
|
Loading…
Reference in a new issue