Messages in this thread | | | From | "Martin K. Petersen" <> | Subject | Re: [PATCH v3] scsi: hpsa: fix memory leak in hpsa_init_one | Date | Thu, 29 Oct 2020 22:20:17 -0400 |
| |
On Tue, 27 Oct 2020 07:31:24 +0000, Keita Suzuki wrote:
> When hpsa_scsi_add_host fails, h->lastlogicals is leaked since it lacks > free in the error handler. > > Fix this by adding free when hpsa_scsi_add_host fails.
Applied to 5.10/scsi-fixes, thanks!
[1/1] scsi: hpsa: Fix memory leak in hpsa_init_one() https://git.kernel.org/mkp/scsi/c/af61bc1e33d2
-- Martin K. Petersen Oracle Linux Engineering
| |