diff options
author | Rafael Mendonca <[email protected]> | 2022-09-13 23:49:24 -0300 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2022-09-15 21:58:03 -0400 |
commit | 601be20fc6a1b762044d2398befffd6bf236cebf (patch) | |
tree | fc66446f9e9bd42a578ea56a6a3ab077bcd882cf /tools/perf/util/trace-event-scripting.c | |
parent | fbfe96869b782364caebae0445763969ddb6ea67 (diff) |
scsi: qla2xxx: Fix memory leak in __qlt_24xx_handle_abts()
Commit 8f394da36a36 ("scsi: qla2xxx: Drop TARGET_SCF_LOOKUP_LUN_FROM_TAG")
made the __qlt_24xx_handle_abts() function return early if
tcm_qla2xxx_find_cmd_by_tag() didn't find a command, but it missed to clean
up the allocated memory for the management command.
Link: https://lore.kernel.org/r/[email protected]
Fixes: 8f394da36a36 ("scsi: qla2xxx: Drop TARGET_SCF_LOOKUP_LUN_FROM_TAG")
Reviewed-by: Himanshu Madhani <[email protected]>
Signed-off-by: Rafael Mendonca <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions