commit | b6170a49c59c27a10efed26c5a2969403e69aaba | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu May 21 15:12:21 2020 +0300 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue May 26 21:32:09 2020 -0400 |
tree | 36dbc0c734ee02888f57835768dccdd9bb489c06 | |
parent | 1f93ad177d24e23480194a1ea34e3c5d8a47ef92 [diff] |
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>