Re: [PATCH] hwmon: iio_hwmon: fix memory leak in name attribute

2016-07-26 Thread Guenter Roeck
On Tue, Jul 26, 2016 at 09:47:09AM +0200, Quentin Schulz wrote: > The "name" variable's memory is now freed when the device is destructed > thanks to devm function. > > Signed-off-by: Quentin Schulz > Reported-by: Guenter Roeck Applied.

Re: [PATCH] hwmon: iio_hwmon: fix memory leak in name attribute

2016-07-26 Thread Guenter Roeck
On Tue, Jul 26, 2016 at 09:47:09AM +0200, Quentin Schulz wrote: > The "name" variable's memory is now freed when the device is destructed > thanks to devm function. > > Signed-off-by: Quentin Schulz > Reported-by: Guenter Roeck Applied. Thanks, Guenter > --- > drivers/hwmon/iio_hwmon.c | 24

[PATCH] hwmon: iio_hwmon: fix memory leak in name attribute

2016-07-26 Thread Quentin Schulz
The "name" variable's memory is now freed when the device is destructed thanks to devm function. Signed-off-by: Quentin Schulz Reported-by: Guenter Roeck --- drivers/hwmon/iio_hwmon.c | 24 1 file changed, 12

[PATCH] hwmon: iio_hwmon: fix memory leak in name attribute

2016-07-26 Thread Quentin Schulz
The "name" variable's memory is now freed when the device is destructed thanks to devm function. Signed-off-by: Quentin Schulz Reported-by: Guenter Roeck --- drivers/hwmon/iio_hwmon.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git