summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-09-07 17:44:24 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-09-12 05:26:16 +0200
commit6638d1036688f7b0f15a1a18c9a251ab0a7ab626 (patch)
tree31669a1f287161bc78256798602ce9e27b5cb997 /librpc
parentac804f0d7f5a93ff2710e213d9213ad9960a15d6 (diff)
downloadsamba-6638d1036688f7b0f15a1a18c9a251ab0a7ab626.tar.gz
samba-6638d1036688f7b0f15a1a18c9a251ab0a7ab626.tar.bz2
samba-6638d1036688f7b0f15a1a18c9a251ab0a7ab626.zip
smbd: Remove pre-allocation of ACL array in sys_acl_init()
Instead, this is just handled with realloc in sys_acl_create_entry() This allows us to remove the size element from the SMB_ACL_T. Andrew Bartlett
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/smb_acl.idl1
1 files changed, 0 insertions, 1 deletions
diff --git a/librpc/idl/smb_acl.idl b/librpc/idl/smb_acl.idl
index 2904c3afa4..f7332d9ac7 100644
--- a/librpc/idl/smb_acl.idl
+++ b/librpc/idl/smb_acl.idl
@@ -65,7 +65,6 @@ interface smb_acl
} smb_acl_entry;
[public] typedef struct {
- [value(0)] int size;
int count;
[value(0)] int next;
[size_is(count)] smb_acl_entry acl[*];