Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=de47b69c7b7be46b0848b2c4f8e23c478cd68690 Commit: de47b69c7b7be46b0848b2c4f8e23c478cd68690 Parent: 7a883eaf62f4b943ebec738ce3b0796c67ef5d32 Author: Jesper Juhl <[EMAIL PROTECTED]> AuthorDate: Sun Jul 29 00:45:59 2007 +0200 Committer: Len Brown <[EMAIL PROTECTED]> CommitDate: Fri Aug 3 16:15:28 2007 -0400
asus_acpi: fix possible double free (found by Coverity) Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- 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; } } - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html