diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-05-21 15:12:21 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-05-26 21:32:09 -0400 |
commit | b6170a49c59c27a10efed26c5a2969403e69aaba (patch) | |
tree | 36dbc0c734ee02888f57835768dccdd9bb489c06 /drivers/scsi/atari_scsi.c | |
parent | 1f93ad177d24e23480194a1ea34e3c5d8a47ef92 (diff) | |
download | lwn-b6170a49c59c27a10efed26c5a2969403e69aaba.tar.gz lwn-b6170a49c59c27a10efed26c5a2969403e69aaba.zip |
scsi: cxgb3i: Fix some leaks in init_act_open()
There wasn't any clean up done if cxgb3_alloc_atid() failed and also the
original code didn't release "csk->l2t".
Link: https://lore.kernel.org/r/20200521121221.GA247492@mwanda
Fixes: 6f7efaabefeb ("[SCSI] cxgb3i: change cxgb3i to use libcxgbi")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/atari_scsi.c')
0 files changed, 0 insertions, 0 deletions