Print this page
6659 nvlist_free(NULL) is a no-op
*** 1162,1172 ****
* pending events indefinitely.
*/
mutex_exit(&chp->ch_mutex);
evch_dl_del(&eg->evch_list, &chp->ch_link);
evch_evq_destroy(chp->ch_queue);
- if (chp->ch_propnvl)
nvlist_free(chp->ch_propnvl);
mutex_destroy(&chp->ch_mutex);
mutex_destroy(&chp->ch_pubmx);
cv_destroy(&chp->ch_pubcv);
kmem_free(chp->ch_name, chp->ch_namelen);
--- 1162,1171 ----
*** 1570,1580 ****
{
evch_chan_t *chp = bp->bd_channel;
mutex_enter(&chp->ch_mutex);
- if (chp->ch_propnvl)
nvlist_free(chp->ch_propnvl);
chp->ch_propnvl = nvl;
chp->ch_propnvlgen++;
--- 1569,1578 ----