linux-nvme / nvme-cli

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

fabrics: do not leak nvme_ctrl_t object on connect #2445

Closed igaw closed 3 months ago

igaw commented 3 months ago

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