Files
linux/drivers/nvme
Maurizio Lombardi 3c781fbb4f nvme-core: fix a memory leak in nvme_ns_info_from_identify()
[ Upstream commit e3139cef82 ]

In case of error, free the nvme_id_ns structure that was allocated
by nvme_identify_ns().

Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-20 11:50:04 +01:00
..
2022-08-02 17:14:49 -06:00