git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b76daee
)
r1103: need to leave empty dacl so we can remove last ACE
author
Herb Lewis
<herb@samba.org>
Thu, 10 Jun 2004 14:23:34 +0000
(14:23 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:51:55 +0000
(10:51 -0500)
(This used to be commit
d8a545368c8111fddcfdd423c4d6fcbab65e96d6
)
source3/utils/smbcacls.c
patch
|
blob
|
history
diff --git
a/source3/utils/smbcacls.c
b/source3/utils/smbcacls.c
index 5a70d1688421c72402129b3f616f2fb0eff3c28d..cb82ad831eb6e713c0428edbeed28d5560ff7622 100644
(file)
--- 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;
}