summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-12-19 18:41:51 +0000
committerJeremy Allison <jra@samba.org>2000-12-19 18:41:51 +0000
commited7ecca3aa12afab6feb5cf176a84a76994c9194 (patch)
tree2dd5373c8e6ed6802d6950bfe856621329ab4f7a /source3/smbd
parente28f0a1f55fb8184f1edfb0bd8333f3d71e12225 (diff)
downloadsamba-ed7ecca3aa12afab6feb5cf176a84a76994c9194.tar.gz
samba-ed7ecca3aa12afab6feb5cf176a84a76994c9194.tar.bz2
samba-ed7ecca3aa12afab6feb5cf176a84a76994c9194.zip
Split the one sys_acl_free call into sys_acl_free_TYPE calls, to allow
easier wrapping of non-POSIX ACL interfaces. Jeremy. (This used to be commit 1a31b4eb082b23d60e3d9040b3c0110eef1f9385)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/posix_acls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c
index bc27ea9ae2..7b8d693a1d 100644
--- a/source3/smbd/posix_acls.c
+++ b/source3/smbd/posix_acls.c
@@ -544,7 +544,7 @@ static canon_ace *canonicalise_acl( SMB_ACL_T posix_acl, SMB_STRUCT_STAT *psbuf)
dbgtext("canonicalize_acl: processed acl %s\n", acl_text == NULL ? "NULL" : acl_text );
if (acl_text)
- sys_acl_free(acl_text);
+ sys_acl_free_text(acl_text);
}
return list_head;
@@ -688,9 +688,9 @@ size_t get_nt_acl(files_struct *fsp, SEC_DESC **ppdesc)
done:
if (posix_acl)
- sys_acl_free(posix_acl);
+ sys_acl_free_acl(posix_acl);
if (dir_acl)
- sys_acl_free(dir_acl);
+ sys_acl_free_acl(dir_acl);
if (file_ace)
free_canon_ace_list(file_ace);
if (dir_ace)