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

*** 353,363 **** /* push the bits out on the wire */ status = stmf_ic_transmit(buf, size); done: - if (nvl) nvlist_free(nvl); if (buf) kmem_free(buf, size); --- 353,362 ----
*** 969,979 **** default: ASSERT(0); } - if (msg->icm_nvlist) nvlist_free(msg->icm_nvlist); kmem_free(msg, sizeof (*msg)); } --- 968,977 ----
*** 1174,1184 **** done: if (!rc) return (nvl); - if (nvl) nvlist_free(nvl); return (NULL); } --- 1172,1181 ----