Skip to content

Commit

Permalink
asus_acpi: fix possible double free (found by Coverity)
Browse files Browse the repository at this point in the history
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Jesper Juhl authored and Len Brown committed Aug 3, 2007
1 parent 7a883ea commit de47b69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/acpi/asus_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1192,6 +1192,7 @@ static int asus_hotk_get_info(void)
break;
default:
kfree(model);
model = NULL;
break;
}
}
Expand Down

0 comments on commit de47b69

Please sign in to comment.