diff options
author | Jesper Juhl <jesper.juhl@gmail.com> | 2007-07-29 02:45:59 +0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-08-04 00:15:28 +0400 |
commit | de47b69c7b7be46b0848b2c4f8e23c478cd68690 (patch) | |
tree | 033b7cbbfa3e3cc8b2036462b39a489d0ad6cfb2 /drivers/acpi/asus_acpi.c | |
parent | 7a883eaf62f4b943ebec738ce3b0796c67ef5d32 (diff) | |
download | linux-de47b69c7b7be46b0848b2c4f8e23c478cd68690.tar.xz |
asus_acpi: fix possible double free (found by Coverity)
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/asus_acpi.c')
-rw-r--r-- | drivers/acpi/asus_acpi.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } } |