aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-imx.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2018-03-27 13:35:58 +0000
committerJohn Johansen <[email protected]>2018-03-31 04:14:04 +0000
commit588558eb6d0e0b6edfa65a67e906c2ffeba63ff1 (patch)
treece7b8c97b9af43136d47cadf3ee9350436c9b8e3 /drivers/pwm/pwm-imx.c
parentapparmor: fix dangling symlinks to policy rawdata after replacement (diff)
downloadkernel-588558eb6d0e0b6edfa65a67e906c2ffeba63ff1.tar.gz
kernel-588558eb6d0e0b6edfa65a67e906c2ffeba63ff1.zip
apparmor: fix memory leak on buffer on error exit path
Currently on the error exit path the allocated buffer is not free'd causing a memory leak. Fix this by kfree'ing it. Detected by CoverityScan, CID#1466876 ("Resource leaks") Fixes: 1180b4c757aa ("apparmor: fix dangling symlinks to policy rawdata after replacement") Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: John Johansen <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-imx.c')
0 files changed, 0 insertions, 0 deletions