aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/trigger/stm32-timer-trigger.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2017-08-23 14:34:33 +0000
committerGreg Kroah-Hartman <[email protected]>2017-08-28 08:27:28 +0000
commit2ffabf50bd0038acc0e92fe78915610a7fded182 (patch)
tree86532d9a9ba74f717655849c368ff3ade16ec589 /drivers/iio/trigger/stm32-timer-trigger.c
parentstaging: lustre: obdclass: fix checking for obd_init_checks() (diff)
downloadkernel-2ffabf50bd0038acc0e92fe78915610a7fded182.tar.gz
kernel-2ffabf50bd0038acc0e92fe78915610a7fded182.zip
staging: r8822be: fix memory leak of eeprom_map on error exit return
A memory leak of eeprom_map occurs if the call to halmac_eeprom_parser_88xx fails. Fix this by kfree'ing it before returning. Detected by CoverityScan, CID#1454569 ("Resource leak") Fixes: 938a0447f094 ("staging: r8822be: Add code for halmac sub-driver") Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions