Print this page
patch tsoome-feedback
@@ -1957,11 +1957,10 @@
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) &&
@@ -1970,11 +1969,10 @@
(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);
}