linux-stable/drivers/iio
Sasha Levin 8d75cc141d iio: imu: adis16400: fix memory leak
[ Upstream commit 9c0530e898 ]

In adis_update_scan_mode_burst, if adis->buffer allocation fails release
the adis->xfer.

Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-08-05 10:06:48 +02:00
..
accel
adc
amplifiers
buffer
chemical
common
counter
dac
dummy
frequency
gyro
health
humidity
imu iio: imu: adis16400: fix memory leak 2020-08-05 10:06:48 +02:00
light
magnetometer
multiplexer
orientation
potentiometer
potentiostat
pressure
proximity
temperature
trigger
iio_core.h
iio_core_trigger.h
industrialio-buffer.c
industrialio-configfs.c
industrialio-core.c
industrialio-event.c
industrialio-sw-device.c
industrialio-sw-trigger.c
industrialio-trigger.c
industrialio-triggered-event.c
inkern.c
Kconfig
Makefile