summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-monterey.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2012-03-12 16:33:10 +0100
committerGuenter Roeck <guenter.roeck@ericsson.com>2012-03-12 20:41:44 +0100
commit32260d94408c553dca4ce54104edf79941a27536 (patch)
tree82af25451f893f2685ccd78df6a5fae90445da61 /drivers/hid/hid-monterey.c
parenthwmon: (w83627ehf) Fix writing into fan_stop_time for NCT6775F/NCT6776F (diff)
downloadlinux-32260d94408c553dca4ce54104edf79941a27536.tar.xz
linux-32260d94408c553dca4ce54104edf79941a27536.zip
hwmon: (w83627ehf) Fix memory leak in probe function
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>
Diffstat (limited to 'drivers/hid/hid-monterey.c')
0 files changed, 0 insertions, 0 deletions