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

@@ -8027,11 +8027,10 @@
                 return (nvl);
         }
 
         rw_exit(&vhcache->vhcache_lock);
 out:
-        if (nvl)
                 nvlist_free(nvl);
         return (NULL);
 }
 
 /*