MCPcopy Create free account
hub / github.com/RsyncProject/rsync / free_acl

Function free_acl

acls.c:233–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231}
232
233void free_acl(stat_x *sxp)
234{
235 if (sxp->acc_acl) {
236 rsync_acl_free(sxp->acc_acl);
237 free(sxp->acc_acl);
238 sxp->acc_acl = NULL;
239 }
240 if (sxp->def_acl) {
241 rsync_acl_free(sxp->def_acl);
242 free(sxp->def_acl);
243 sxp->def_acl = NULL;
244 }
245}
246
247#ifdef SMB_ACL_NEED_SORT
248static int id_access_sorter(const void *r1, const void *r2)

Callers 6

hard_link_checkFunction · 0.70
free_stat_xFunction · 0.70
get_aclFunction · 0.70
copy_valid_pathFunction · 0.70
make_backupFunction · 0.70
send_file_nameFunction · 0.70

Calls 1

rsync_acl_freeFunction · 0.85

Tested by

no test coverage detected