Files
twx-linux/drivers/hwmon
Quentin Schulz dde898fba8 hwmon: (iio_hwmon) fix memory leak in name attribute
commit 5d17d3b4bb upstream.

The "name" variable's memory is now freed when the device is destructed
thanks to devm function.

Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>
Reported-by: Guenter Roeck <linux@roeck-us.net>
Fixes: e0f8a24e0e ("staging:iio::hwmon interface client driver.")
Fixes: 61bb53bcbd ("hwmon: (iio_hwmon) Add support for humidity sensors")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-09-07 08:32:46 +02:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-05-31 22:58:36 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-08-09 13:44:27 -07:00
…
…
…
2015-10-14 07:57:14 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2015-08-10 23:00:10 -07:00
…
…
…
…
2015-06-21 22:54:53 -07:00
…
…
…
…
…
…
…
…
…