aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorLaurentiu Tudor <[email protected]>2019-04-01 10:14:37 +0000
committerWolfram Sang <[email protected]>2019-04-06 15:54:28 +0000
commit3ace6891ce8bb9e1267358cb58f93b4fd8b72b69 (patch)
tree246699176d38baddbdb461c110e4ed0a66a1cc0f /lib/string_helpers.c
parentLinux 5.1-rc3 (diff)
downloadkernel-3ace6891ce8bb9e1267358cb58f93b4fd8b72b69.tar.gz
kernel-3ace6891ce8bb9e1267358cb58f93b4fd8b72b69.zip
i2c: imx: don't leak the i2c adapter on error
Make sure to free the i2c adapter on the error exit path. Signed-off-by: Laurentiu Tudor <[email protected]> Reviewed-by: Mukesh Ojha <[email protected]> Reviewed-by: Uwe Kleine-König <[email protected]> Fixes: e1ab9a468e3b ("i2c: imx: improve the error handling in i2c_imx_dma_request()") Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions