kernel-fxtec-pro1x/drivers/iio/pressure
Fabio Estevam c24e7daf82 iio: pressure: hid-sensor-press: Fix memory leak in probe()
'channels' is allocated via kmemdup and it is never freed in the
subsequent error paths.

Use 'indio_dev->channels' directly instead, so that we avoid such
memory leak problem.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2015-05-17 09:10:33 +01:00
..
bmp280.c iio:pressure:bmp280: cleanup 2014-12-26 10:32:34 +00:00
hid-sensor-press.c iio: pressure: hid-sensor-press: Fix memory leak in probe() 2015-05-17 09:10:33 +01:00
Kconfig iio: pressure: add support for MS5611 pressure and temperature sensor 2015-03-15 11:47:46 +00:00
Makefile iio: pressure: add support for MS5611 pressure and temperature sensor 2015-03-15 11:47:46 +00:00
mpl115.c iio: Add Freescale MPL115A2 pressure / temperature sensor driver 2014-05-03 11:31:36 +01:00
mpl3115.c iio: Fix two mpl3115 issues in measurement conversion 2014-05-29 17:38:36 +01:00
ms5611.h iio: pressure: add support for MS5611 pressure and temperature sensor 2015-03-15 11:47:46 +00:00
ms5611_core.c iio: pressure: add support for MS5611 pressure and temperature sensor 2015-03-15 11:47:46 +00:00
ms5611_i2c.c iio: pressure: add support for MS5611 pressure and temperature sensor 2015-03-15 11:47:46 +00:00
ms5611_spi.c iio: pressure: add support for MS5611 pressure and temperature sensor 2015-03-15 11:47:46 +00:00
st_pressure.h iio:pressure: Removed unnecessary parameter on common_probe function 2014-10-04 11:25:38 +01:00
st_pressure_buffer.c iio:pressure: Changed pressure data variable name to press_data 2014-10-04 11:26:09 +01:00
st_pressure_core.c iio:pressure: Changed pressure data variable name to press_data 2014-10-04 11:26:09 +01:00
st_pressure_i2c.c iio:common: Set the device pointer into ST common sensors library 2014-10-04 11:26:21 +01:00
st_pressure_spi.c iio:common: Set the device pointer into ST common sensors library 2014-10-04 11:26:21 +01:00
t5403.c iio: Add t5403 barometric pressure sensor driver 2014-06-14 13:15:30 +01:00