Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hwmon: (w83627ehf) Fix memory leak in probe function
commit 32260d9 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>
- Loading branch information