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:
5f418b2
)
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
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 19 Mar 2012 16:02:35 +0000
(09:02 -0700)
commit
32260d94408c553dca4ce54104edf79941a27536
upstream.
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>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found