Print this page
patch tsoome-feedback

*** 1034,1044 **** *out = nf; return (0); hcfmbail: - if (nf != NULL) nvlist_free(nf); for (i = 0; i < npairs; i++) nvlist_free(pa[i]); topo_mod_free(mod, pa, npairs * sizeof (nvlist_t *)); --- 1034,1043 ----
*** 1175,1185 **** return (hc_create_seterror(mod, hcl, pelems, fmri, EMOD_FMRI_NVL)); if (hcl != NULL) { for (i = 0; i < pelems + 1; ++i) { - if (hcl[i] != NULL) nvlist_free(hcl[i]); } topo_mod_free(mod, hcl, sizeof (nvlist_t *) * (pelems + 1)); } --- 1174,1183 ----