scsi: mpt3sas: Fix a memory leak
authorTomas Henzl <thenzl@redhat.com>
Tue, 7 Feb 2023 15:21:59 +0000 (16:21 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 9 Feb 2023 00:02:04 +0000 (19:02 -0500)
commit54dd96015e8d7a2a07359e2dfebf05b529d1780c
treeaa9fa5ba6da0c555da9985f80211ad10972a9034
parentd48a62381a73458d29393cdc3bad09b048b7b913
scsi: mpt3sas: Fix a memory leak

Add a forgotten kfree().

Fixes: dbec4c9040ed ("scsi: mpt3sas: lockless command submission")
Link: https://lore.kernel.org/r/20230207152159.18627-1-thenzl@redhat.com
Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_base.c