summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDinghao Liu <dinghao.liu@zju.edu.cn>2020-08-23 12:14:53 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-23 11:46:33 +0300
commita5a4a05defb5d296097c0ebc439c6b8b547e21fa (patch)
treeb5a2799b82098477c50245f54cac1b13eebd0d83 /tools
parent869ed69b5f5b717dec8f8a635b0aaf20e08f8b7c (diff)
downloadlinux-a5a4a05defb5d296097c0ebc439c6b8b547e21fa.tar.xz
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 'tools')
0 files changed, 0 insertions, 0 deletions