mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
scsi: lpfc: Remove redundant assignment to avoid memory leak
[ Upstream commiteea6cafb58] Remove the redundant assignment if kzalloc() succeeds to avoid memory leak. Fixes:bd2cdd5e40("scsi: lpfc: NVME Initiator: Add debugfs support") Signed-off-by: Jiasheng Jiang <jiashengjiangcool@gmail.com> Link: https://lore.kernel.org/r/20250801185202.42631-1-jiashengjiangcool@gmail.com Reviewed-by: Justin Tee <justin.tee@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
6cb0d8587b
commit
7fdc6efef6
1 changed files with 0 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue