7730 libzfs`add_config() leaks config nvl when reading spare/l2cache devices
commit105686550ee9cbf5d033166a8a2a5a763667d436
authorYuri Pankov <yuri.pankov@nexenta.com>
Fri, 13 Jan 2017 17:06:59 +0000 (13 09:06 -0800)
committerMatthew Ahrens <mahrens@delphix.com>
Fri, 13 Jan 2017 18:18:20 +0000 (13 10:18 -0800)
treec763eb577b0922ef9cfee675f3297af434ca6aa9
parentf5fb56de308f70aaa788d3921c1177fad4183232
7730 libzfs`add_config() leaks config nvl when reading spare/l2cache devices
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Serapheim Dimitropoulos <serapheim@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
usr/src/lib/libzfs/common/libzfs_import.c