Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tree: missing closedir() causes fd leak for "/sys/bus/pci/slots"
In nvme_ctrl_lookup_phy_slot(), we are missing a closedir(), which causes file descriptors to leak. Also, there was a missing free() when the function returns with ENOMEM. Signed-off-by: Martin Belanger <martin.belanger@dell.com>
- Loading branch information