Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tree: do no free ns on error in nvme_ns_init
The ns pointer is owned by the caller not by nvme_ns_init, thus we can't just free it on error. Fixes: 7959f52 ("tree: read all attributes from sysfs when available") Reported-by: Tomasz Kłoczko <[email protected]> Signed-off-by: Daniel Wagner <[email protected]>
- Loading branch information