]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: mpi3mr: Fix throttle_groups memory leak
authorTomas Henzl <thenzl@redhat.com>
Thu, 2 Mar 2023 23:43:31 +0000 (00:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Mar 2023 12:33:41 +0000 (13:33 +0100)
commite96f3b0225ddad4710e69deb71ca289e3742ecd7
treeef044f98c1f5eedccacb77ba6246619e96dc3f43
parentf117b8e8611ee494765e5466799a216f842d7527
scsi: mpi3mr: Fix throttle_groups memory leak

[ Upstream commit c856e722be9715c980d4a392c8cf4060be5a5ca4 ]

Add a missing kfree().

Fixes: ff9ee96ec6d4 ("scsi: mpi3mr: Resource Based Metering")
Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Link: https://lore.kernel.org/r/20230302234336.25456-2-thenzl@redhat.com
Acked-by: Sathya Prakash Veerichetty <sathya.prakash@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/scsi/mpi3mr/mpi3mr_fw.c