diff options
Diffstat (limited to 'source3')
-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; } |