Re: [PATCH] scsi: lpfc: Fix memory leak in lpfc_sli4_driver_resource_setup()
From: Martin K. Petersen
Date: Sun Jul 12 2026 - 22:37:07 EST
On Tue, 07 Jul 2026 12:23:02 +0530, Abdun Nihaal wrote:
> The memory allocated for mboxq using mempool_alloc() is not freed in
> some of the early exit error paths. Fix that by moving the
> mempool_free() call to an earlier point after last use.
>
>
Applied to 7.2/scsi-fixes, thanks!
[1/1] scsi: lpfc: Fix memory leak in lpfc_sli4_driver_resource_setup()
https://git.kernel.org/mkp/scsi/c/1bd28625e25b
--
Martin K. Petersen