git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33fa9b6
)
hwmon: (w83627ehf) Fix memory leak in probe function
author
Guenter Roeck
<linux@roeck-us.net>
Mon, 12 Mar 2012 15:33:10 +0000
(08:33 -0700)
committer
Guenter Roeck
<guenter.roeck@ericsson.com>
Mon, 12 Mar 2012 19:41:44 +0000
(12:41 -0700)
The driver probe function leaked memory if creating the cpu0_vid attribute file
failed. Fix by converting the driver to use devm_kzalloc.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Cc: stable@vger.kernel.org # 2.6.32+
Acked-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/w83627ehf.c
patch
|
blob
|
history
diff --cc
drivers/hwmon/w83627ehf.c
Simple merge