diff options
author | Herb Lewis <herb@samba.org> | 2004-06-10 14:23:34 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:51:55 -0500 |
commit | 8018892b3c63fdb7cf0d0a72cba59f847cee718d (patch) | |
tree | bea7aafaae8caabcb38f2a049d3e89a35d50eaa3 | |
parent | b76daee923df4c59df99e2f48151319ac5807e3e (diff) | |
download | samba-8018892b3c63fdb7cf0d0a72cba59f847cee718d.tar.gz samba-8018892b3c63fdb7cf0d0a72cba59f847cee718d.tar.bz2 samba-8018892b3c63fdb7cf0d0a72cba59f847cee718d.zip |
r1103: need to leave empty dacl so we can remove last ACE
(This used to be commit d8a545368c8111fddcfdd423c4d6fcbab65e96d6)
-rw-r--r-- | source3/utils/smbcacls.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c index 5a70d16884..cb82ad831e 100644 --- a/source3/utils/smbcacls.c +++ b/source3/utils/smbcacls.c @@ -624,11 +624,6 @@ static int cacl_set(struct cli_state *cli, char *filename, old->dacl->ace[k] = old->dacl->ace[k+1]; } old->dacl->num_aces--; - if (old->dacl->num_aces == 0) { - SAFE_FREE(old->dacl->ace); - SAFE_FREE(old->dacl); - old->off_dacl = 0; - } found = True; break; } |