lkml.org 
[lkml]   [2020]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v3] scsi: hpsa: fix memory leak in hpsa_init_one
Date
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

\
 
 \ /
  Last update: 2020-10-30 03:21    [W:0.057 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site