]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
nvme-cli: code cleanup for passthru() handlers
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Mon, 20 Aug 2018 00:36:05 +0000 (20:36 -0400)
committerKeith Busch <keith.busch@intel.com>
Mon, 20 Aug 2018 18:41:08 +0000 (12:41 -0600)
commit398fd57d3f342953f9257a470ff7b58789d0cb9f
tree170d5db0cc77fa95c04c03656e7853abb100d7ab
parent78dfdaab3a982b55e8752f722ba1cb85d3a74763
nvme-cli: code cleanup for passthru() handlers

Get rid of the duplicate free of the metadata pointer in case memory
allocation fails for the data pointer.

Close wfd file in case of any resource allocation failure if
applicable.

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
nvme.c