]> granicus.if.org Git - zfs/commit
Fix coverity defects: CID 147602 147604
authorcao <cao.xuewen@zte.com.cn>
Fri, 23 Sep 2016 22:43:46 +0000 (06:43 +0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 23 Sep 2016 22:43:46 +0000 (15:43 -0700)
commit92bc9278689fcce48183182f2488ead42a9eb790
treefaa078a269cff55585a2d14cbd27762c43b558b2
parent7571033285e2f83bf163e0cec31fd2b352beed30
Fix coverity defects: CID 147602 147604

coverity scan CID:147604, Type: Resource leak.
coverity scan CID:147602, Type: Resource leak.
reason: safe_malloc calcvs, goto children but not free calcvs.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: cao.xuewen <cao.xuewen@zte.com.cn>
Closes #5155
cmd/zpool/zpool_main.c