summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-09-11 17:00:10 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-09-11 18:46:14 +1000
commita02a2c3557928e507d1220303d9a3f79e8c46bb1 (patch)
tree3a02bc933d0c2fca5b678a2130a053497f0f5eaa /source4/dsdb
parentfdcadb5c3c2e3de1e2d1755653a9d02ccb548db8 (diff)
downloadsamba-a02a2c3557928e507d1220303d9a3f79e8c46bb1.tar.gz
samba-a02a2c3557928e507d1220303d9a3f79e8c46bb1.tar.bz2
samba-a02a2c3557928e507d1220303d9a3f79e8c46bb1.zip
libcli/security Use talloc_zero when making a struct security_token
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/samdb/samdb.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/samdb.c b/source4/dsdb/samdb/samdb.c
index ddcd0d2d12..32698ea412 100644
--- a/source4/dsdb/samdb/samdb.c
+++ b/source4/dsdb/samdb/samdb.c
@@ -157,8 +157,6 @@ NTSTATUS security_token_create(TALLOC_CTX *mem_ctx,
ptoken = security_token_initialise(mem_ctx);
NT_STATUS_HAVE_NO_MEMORY(ptoken);
- ptoken->privilege_mask = 0;
-
ptoken->sids = talloc_array(ptoken, struct dom_sid, n_groupSIDs + 6 /* over-allocate */);
NT_STATUS_HAVE_NO_MEMORY(ptoken->sids);