aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/algos/i2c-algo-bit.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2012-03-12 11:33:10 -0400
committerLuis Henriques <luis.henriques@canonical.com>2012-03-26 05:27:06 -0400
commitb9e24519ea78d06dd67046ff26e1d696b069b1ec (patch)
tree480e42f1b873e8785eec0e9137424a4dd0fe6746 /drivers/i2c/algos/i2c-algo-bit.c
parent2b49a46c687339d4c5ab13be7554c37a9f0631b1 (diff)
hwmon: (w83627ehf) Fix memory leak in probe function
BugLink: http://bugs.launchpad.net/bugs/959470 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> Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions