From: Bob Moore Date: Fri, 2 Feb 2007 16:48:20 +0000 (+0300) Subject: ACPICA: Fix memory leak in table load error path X-Git-Tag: v2.6.21-rc1~92^2~32^2^2~9^2~52 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fab8997f18f71b2391e72e49d8d31a395352dcc;p=linux-2.6 ACPICA: Fix memory leak in table load error path Signed-off-by: Alexey Starikovskiy Signed-off-by: Len Brown --- diff --git a/drivers/acpi/executer/exconfig.c b/drivers/acpi/executer/exconfig.c index dd43b00e18..20a5ab87e8 100644 --- a/drivers/acpi/executer/exconfig.c +++ b/drivers/acpi/executer/exconfig.c @@ -413,7 +413,7 @@ acpi_ex_load_op(union acpi_operand_object *obj_desc, */ status = acpi_tb_add_table(table_ptr, &table_index); if (ACPI_FAILURE(status)) { - return_ACPI_STATUS(status); + goto cleanup; } status =