Print this page
6659 nvlist_free(NULL) is a no-op

@@ -561,11 +561,10 @@
 cleanup:
                 if (cfg)
                         it_config_free_cmn(cfg);
                 if (cfg_pnvlist)
                         kmem_free(cfg_pnvlist, setcfg.set_cfg_pnvlist_len);
-                if (cfg_nvlist)
                         nvlist_free(cfg_nvlist);
 
                 /*
                  * Now that the reconfig is complete set our state back to
                  * enabled.