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

@@ -1835,13 +1835,11 @@
         }
 
         contract_rele(e->cte_contract);
 
         mutex_destroy(&e->cte_lock);
-        if (e->cte_data)
                 nvlist_free(e->cte_data);
-        if (e->cte_gdata)
                 nvlist_free(e->cte_gdata);
         kmem_free(e, sizeof (ct_kevent_t));
 }
 
 /*