c24e7daf82
'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> |
||
---|---|---|
.. | ||
bmp280.c | ||
hid-sensor-press.c | ||
Kconfig | ||
Makefile | ||
mpl115.c | ||
mpl3115.c | ||
ms5611.h | ||
ms5611_core.c | ||
ms5611_i2c.c | ||
ms5611_spi.c | ||
st_pressure.h | ||
st_pressure_buffer.c | ||
st_pressure_core.c | ||
st_pressure_i2c.c | ||
st_pressure_spi.c | ||
t5403.c |