Files
u-boot/drivers
Prashant Kamble 11e056e320 nvme: free prp_pool on nvme_init() failure paths
nvme_init() allocates prp_pool after configuring the admin queue,
but some later error paths return without freeing it.

Free prp_pool before freeing the queue array in the failure paths
after nvme_setup_io_queues() and namespace ID buffer allocation.

This fixes a memory leak during NVMe initialization failures.

Signed-off-by: Prashant Kamble <prashant.kamble223@gmail.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20260524145721.9206-1-prashant.kamble223@gmail.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
2026-05-28 12:56:52 +02:00
..
2025-10-30 12:32:12 -06:00
2026-04-27 11:26:40 -06:00
2026-04-27 11:26:40 -06:00
2026-03-18 13:07:36 -06:00
2026-05-12 15:52:53 +02:00
2026-05-15 19:28:30 +08:00
2026-05-12 12:38:49 -06:00