diff options
author | Navid Emamdoost <navid.emamdoost@gmail.com> | 2019-09-19 10:56:35 -0500 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-10-09 19:11:27 +0100 |
commit | 9c0530e898f384c5d279bfcebd8bb17af1105873 (patch) | |
tree | 9e9c315fa3700add84a58c7bab6dc57a9b13ba91 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions