summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/hx711.c
diff options
context:
space:
mode:
authorNavid Emamdoost <navid.emamdoost@gmail.com>2019-10-04 15:03:15 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-07 12:34:55 +0200
commit80b15db5e1e9c3300de299b2d43d1aafb593e6ac (patch)
tree8185d8c35934e03e8e4cbdc1639ed65fe85cc2fb /drivers/iio/adc/hx711.c
parent6e58fc14d7ed9160dc6e0e55ac11dfc84ed578e1 (diff)
downloadlinux-stable-80b15db5e1e9c3300de299b2d43d1aafb593e6ac.tar.gz
linux-stable-80b15db5e1e9c3300de299b2d43d1aafb593e6ac.tar.bz2
linux-stable-80b15db5e1e9c3300de299b2d43d1aafb593e6ac.zip
staging: vt6655: Fix memory leak in vt6655_probe
In vt6655_probe, if vnt_init() fails the cleanup code needs to be called like other error handling cases. The call to device_free_info() is added. Fixes: 67013f2c0e58 ("staging: vt6655: mac80211 conversion add main mac80211 functions") Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com> Cc: stable <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20191004200319.22394-1-navid.emamdoost@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio/adc/hx711.c')
0 files changed, 0 insertions, 0 deletions