[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <160402432641.14215.8278310688594247277.b4-ty@oracle.com>
Date: Thu, 29 Oct 2020 22:20:17 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Keita Suzuki <keitasuzuki.park@...ab.ics.keio.ac.jp>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
"James E.J. Bottomley" <jejb@...ux.ibm.com>,
linux-scsi@...r.kernel.org, Don Brace <don.brace@...rosemi.com>,
esc.storagedev@...rosemi.com, linux-kernel@...r.kernel.org,
takafumi@...ab.ics.keio.ac.jp
Subject: Re: [PATCH v3] scsi: hpsa: fix memory leak in hpsa_init_one
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
Powered by blists - more mailing lists