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

*** 8288,8298 **** } return (nvl); out: - if (nvl) nvlist_free(nvl); if (dev_name) free(dev_name); --- 8288,8297 ----
*** 8362,8372 **** if (tmp->class != NULL) free(tmp->class); if (tmp->subclass != NULL) free(tmp->subclass); - if (tmp->nvl != NULL) nvlist_free(tmp->nvl); syseventq_back = syseventq_back->next; if (syseventq_back == NULL) syseventq_front = NULL; free(tmp); --- 8361,8370 ----