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

@@ -1921,11 +1921,10 @@
          */
         CT_DEBUG((CE_NOTE, "publish: dropping devi_ct_lock"));
         mutex_exit(&(DEVI(dip)->devi_ct_lock));
 
 out:
-        if (tnvl)
                 nvlist_free(tnvl);
         if (path)
                 kmem_free(path, MAXPATHLEN);