diff options
author | Guenter Roeck <linux@roeck-us.net> | 2012-03-12 08:33:10 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-19 09:02:35 -0700 |
commit | 5e9b5771c5c40f8075f7a476c45abd5fe3545122 (patch) | |
tree | d2b28a3b3f9fa12bc449d602cb4bed8f43e56006 /Documentation/unicode.txt | |
parent | 5f418b22bacdbae9f607be8951266c5a6c2aca86 (diff) |
hwmon: (w83627ehf) Fix memory leak in probe function
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>
Diffstat (limited to 'Documentation/unicode.txt')
0 files changed, 0 insertions, 0 deletions