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

*** 2523,2533 **** mutex_exit(&stmf_state.stmf_lock); return (ret); } /* Free any existing lists and add this one to the ppd */ - if (ppd->ppd_nv) nvlist_free(ppd->ppd_nv); ppd->ppd_nv = nv; /* set the token for writes */ ppd->ppd_token++; --- 2523,2532 ----
*** 2596,2606 **** if (*pppd == NULL) return; *pppd = ppd->ppd_next; - if (ppd->ppd_nv) nvlist_free(ppd->ppd_nv); kmem_free(ppd, ppd->ppd_alloc_size); } --- 2595,2604 ----