projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a883ea
)
asus_acpi: fix possible double free (found by Coverity)
author
Jesper Juhl
<jesper.juhl@gmail.com>
Sat, 28 Jul 2007 22:45:59 +0000
(
00:45
+0200)
committer
Len Brown
<len.brown@intel.com>
Fri, 3 Aug 2007 20:15:28 +0000
(16:15 -0400)
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/asus_acpi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/acpi/asus_acpi.c
b/drivers/acpi/asus_acpi.c
index 9c4bd220c44fdf30381046b169c336365f10214a..86fd142f4bf3929731a7b43ef3dc1d1d825f696d 100644
(file)
--- 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;
}
}