]> granicus.if.org Git - zfs/commit
Fix coverity defects: CID 147610, 147608, 147607
authorcao <cao.xuewen@zte.com.cn>
Thu, 29 Sep 2016 19:11:44 +0000 (03:11 +0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 29 Sep 2016 19:11:44 +0000 (12:11 -0700)
commit9ec0403d6acd3ab362905b74c5db6aaf31c71f47
tree041cafe2f8e4b64fbadd7e3fda8347c11c445d9b
parentc9d61adbf8f422fe8d3bda45d9de9e82c757d0b0
Fix coverity defects: CID 147610, 147608, 147607

coverity scan CID:147610, Type: Resource leak.
coverity scan CID:147608, Type: Resource leak.
coverity scan CID:147607, Type: Resource leak.

Reviewed-by: Richard Laager <rlaager@wiktel.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: cao.xuewen <cao.xuewen@zte.com.cn>
Closes #5143
cmd/zfs/zfs_main.c
cmd/zpool/zpool_vdev.c