Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tree: fix segfault in nvme_free_tree()
Commands like nvme list & list-subsys segfault when run with the -h or invalid command options: ... [ --timeout=<NUM>, -t <NUM> ] --- timeout value, Segmentation fault (core dumped) Fix this by ensuring nvme_root_t object exists before dereferencing its members and freeing it. Signed-off-by: Martin George <marting@netapp.com>
- Loading branch information