From ed7ecca3aa12afab6feb5cf176a84a76994c9194 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 19 Dec 2000 18:41:51 +0000 Subject: 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) --- source3/smbd/posix_acls.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/smbd/posix_acls.c') 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) -- cgit