linux-nvme / nvme-cli

NVMe management command line interface.
https://nvmexpress.org
GNU General Public License v2.0
1.45k stars 650 forks source link

fabrics: do not leak nvme_ctrl_t object on connect #2445

Closed igaw closed 1 month ago

igaw commented 1 month ago

valgrinds reports that the nvme_ctrl_t is leaked in the connect command. Let's introduced a new cleanup helper for this.