diff options
author | Dinghao Liu <dinghao.liu@zju.edu.cn> | 2020-08-23 17:14:53 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-23 08:44:26 +0200 |
commit | 1a3b9729ec4e24ead37d9e7701c1b09922a59cc4 (patch) | |
tree | 1613e6bddb86d85217c79a53461a178b437b154c /drivers/scsi/ppa.h | |
parent | ece5598572168dd61b7d876dc2a296311b75683d (diff) | |
download | linux-stable-1a3b9729ec4e24ead37d9e7701c1b09922a59cc4.tar.gz linux-stable-1a3b9729ec4e24ead37d9e7701c1b09922a59cc4.tar.bz2 linux-stable-1a3b9729ec4e24ead37d9e7701c1b09922a59cc4.zip |
scsi: pm8001: Fix memleak in pm8001_exec_internal_task_abort
[ Upstream commit ea403fde7552bd61bad6ea45e3feb99db77cb31e ]
When pm8001_tag_alloc() fails, task should be freed just like it is done in
the subsequent error paths.
Link: https://lore.kernel.org/r/20200823091453.4782-1-dinghao.liu@zju.edu.cn
Acked-by: Jack Wang <jinpu.wang@cloud.ionos.com>
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/scsi/ppa.h')
0 files changed, 0 insertions, 0 deletions