diff options
| author | Prashant Kamble <[email protected]> | 2026-05-24 20:27:16 +0530 |
|---|---|---|
| committer | Neil Armstrong <[email protected]> | 2026-05-28 12:56:52 +0200 |
| commit | 11e056e3207d3b4eabebb1a7630b0195ee9eb5ee (patch) | |
| tree | 96e495e9bdf755131017a18dd92c8aa47c75ea8e /scripts/git-filter-branch | |
| parent | 61280341e926aee1787d9aedb358a43fad96e787 (diff) | |
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 <[email protected]>
Reviewed-by: Neil Armstrong <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Neil Armstrong <[email protected]>
Diffstat (limited to 'scripts/git-filter-branch')
0 files changed, 0 insertions, 0 deletions
