aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2018-03-27 13:26:01 +0000
committerTejun Heo <[email protected]>2018-03-27 13:56:02 +0000
commitdafd6c496381c1cd1f5ba9ad953e810bdcc931bc (patch)
tree639daf250f821153d2e2c6d65240ea9bb68b838c /net/unix/af_unix.c
parentata: ahci-platform: add reset control support (diff)
downloadkernel-dafd6c496381c1cd1f5ba9ad953e810bdcc931bc.tar.gz
kernel-dafd6c496381c1cd1f5ba9ad953e810bdcc931bc.zip
libata: ensure host is free'd on error exit paths
The host structure is not being kfree'd on two error exit paths leading to memory leaks. Add in new err_free label and kfree host. Detected by CoverityScan, CID#1466103 ("Resource leak") Fixes: 2623c7a5f279 ("libata: add refcounting to ata_host") Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions