Print this page
patch tsoome-feedback
*** 1957,1967 ****
if (srcattrfd != -1)
(void) close(srcattrfd);
if (targattrfd != -1)
(void) close(targattrfd);
srcattrfd = targattrfd = -1;
- if (res != NULL)
nvlist_free(res);
}
}
/* Copy source file non default extended system attributes to target */
if (target_sa_support && (response != NULL) &&
--- 1957,1966 ----
*** 1970,1980 ****
(void) fprintf(stderr, gettext("%s: Failed to "
"copy extended system attributes from "
"%s to %s\n"), cmd, source, target);
}
out:
- if (response != NULL)
nvlist_free(response);
close_all();
return (error == 0 ? 0 : 1);
}
--- 1969,1978 ----