]> granicus.if.org Git - zfs/commit
Memory leak in make_root_vdev()
authorIsaac Huang <he.huang@intel.com>
Sun, 26 Apr 2015 04:08:29 +0000 (22:08 -0600)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 27 Apr 2015 16:18:02 +0000 (09:18 -0700)
commitc5656c4cfc28ecf9daf0a8df527b1bf0900c1f80
tree8fdd334c2d097a9a2281b12f4f21561e4fadf612
parentec8501ee1274205f277a7287c3de8119d361afaf
Memory leak in make_root_vdev()

The newroot nvlist should be freed before returning.

Signed-off-by: Isaac Huang <he.huang@intel.com>
Signed-off-by: Chunwei Chen <tuxoko@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3264
cmd/zpool/zpool_vdev.c