linux/drivers/iio
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
..
accel iio: accel: hid-sensor-accel-3d: Fix memory leak in probe() 2015-05-17 09:09:05 +01:00
adc iio: adc: ti_am335x_adc: make sample delay, open delay, averaging DT parameters 2015-05-13 18:37:22 +01:00
amplifiers
common First round of new drivers, functionality and cleanups for the 4.2 cycle 2015-05-09 18:15:50 +02:00
dac iio: max517: Add support for MAX520 and MAX521 chips. 2015-03-28 10:57:34 +00:00
frequency
gyro iio: gyro: hid-sensor-gyro-3d: Fix memory leak in probe() 2015-05-17 09:09:49 +01:00
humidity iio: Allow compile test of GPIO consumers if !GPIOLIB 2015-05-10 20:31:43 +01:00
imu Merge 4.0-rc7 into staging-next 2015-04-07 11:03:02 +02:00
light iio: light: hid-sensor-als.c: Fix memory leak in probe() 2015-05-17 09:10:05 +01:00
magnetometer iio: hid-sensor-magn-3d: Constify platform_device_id 2015-05-10 20:31:47 +01:00
orientation iio: orientation: hid-sensor-rotation: Fix memory leak in probe() 2015-05-17 09:10:25 +01:00
pressure iio: pressure: hid-sensor-press: Fix memory leak in probe() 2015-05-17 09:10:33 +01:00
proximity iio:prox:sx9500 trivial simplification of return path in init function. 2015-05-07 10:42:31 +01:00
temperature iio:temp:mlx90614 trivial drop of unnecessary ret return from write_raw. 2015-05-13 18:40:31 +01:00
trigger
buffer_cb.c
iio_core.h
iio_core_trigger.h
industrialio-buffer.c iio: add support for hardware fifo 2015-03-29 16:17:10 +01:00
industrialio-core.c iio: core: Introduce IIO_CHAN_INFO_OVERSAMPLING_RATIO 2015-05-10 20:31:44 +01:00
industrialio-event.c iio: core: Fix double free. 2015-03-14 18:54:14 +00:00
industrialio-trigger.c
industrialio-triggered-buffer.c
inkern.c
Kconfig
kfifo_buf.c iio: add watermark logic to iio read and poll 2015-03-29 16:17:09 +01:00
Makefile