diff options
author | Jesper Juhl <jesper.juhl@gmail.com> | 2007-07-29 00:45:59 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-08-03 16:15:28 -0400 |
commit | de47b69c7b7be46b0848b2c4f8e23c478cd68690 (patch) | |
tree | 033b7cbbfa3e3cc8b2036462b39a489d0ad6cfb2 /drivers/acpi | |
parent | 7a883eaf62f4b943ebec738ce3b0796c67ef5d32 (diff) | |
download | op-kernel-dev-de47b69c7b7be46b0848b2c4f8e23c478cd68690.zip op-kernel-dev-de47b69c7b7be46b0848b2c4f8e23c478cd68690.tar.gz |
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')
-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 9c4bd22..86fd142 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; } } |