commit | 9c0530e898f384c5d279bfcebd8bb17af1105873 | [log] [tgz] |
---|---|---|
author | Navid Emamdoost <navid.emamdoost@gmail.com> | Thu Sep 19 10:56:35 2019 -0500 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Wed Oct 09 19:11:27 2019 +0100 |
tree | 9e9c315fa3700add84a58c7bab6dc57a9b13ba91 | |
parent | ab612b1daf415b62c58e130cb3d0f30b255a14d0 [diff] |
iio: imu: adis16400: fix memory leak 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>