From: Jesper Juhl Date: Sat, 28 Jul 2007 22:45:59 +0000 (+0200) Subject: asus_acpi: fix possible double free (found by Coverity) X-Git-Tag: MMI-PSA29.97-13-9~40779^2~8^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=de47b69c7b7be46b0848b2c4f8e23c478cd68690;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git asus_acpi: fix possible double free (found by Coverity) Signed-off-by: Jesper Juhl Signed-off-by: Len Brown --- diff --git a/drivers/acpi/asus_acpi.c b/drivers/acpi/asus_acpi.c index 9c4bd220c44f..86fd142f4bf3 100644 --- a/drivers/acpi/asus_acpi.c +++ b/drivers/acpi/asus_acpi.c @@ -1192,6 +1192,7 @@ static int asus_hotk_get_info(void) break; default: kfree(model); + model = NULL; break; } }