]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 8 Mar 2023 02:17:22 +0000 (21:17 -0500)
commitf305a7b6ca21a665e8d0cf70b5936991a298c93c
treec624c02e4c93ff99b8bfdf576a5f0344a6bb7e54
parentd3c57724f1569311e4b81e98fad0931028b9bdcd
scsi: mpi3mr: Fix throttle_groups memory leak

Add a missing kfree().

Fixes: f10af057325c ("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>
drivers/scsi/mpi3mr/mpi3mr_fw.c