x86: asus-laptop: fix invalid point access
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 2/3 x86: asus-laptop: fix invalid point access
asus->name is null or point to const string,so it is not suitable to kfree it.
Signed-off-by Libo Chen <[email protected]>
--- drivers/platform/x86/asus-laptop.c | 1 - 1 file changed, 1 deletion(-)
drivers/platform/x86/asus-laptop.c +0 -1
@@ -1935,7 +1935,6 @@ fail_input: fail_backlight:asus_platform_exit (asus); fail_platform: -kfree (asus->name);kfree (asus);return result;
Signature · 1 line
1.8.1.2