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: v2.6.23-rc3~5^2~8^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=de47b69c7b7be46b0848b2c4f8e23c478cd68690;p=linux-2.6-omap-h63xx.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 9c4bd220c44..86fd142f4bf 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; } }