mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
winbindd: Use talloc_zero_array for consistency with other winbindd_domain allocators
The other allocator for this structure uses talloc_zero() Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sat Mar 24 07:21:37 CET 2018 on sn-devel-144
This commit is contained in:
parent
fc9150dcab
commit
2610a3f2f7
@ -56,8 +56,8 @@ struct tevent_req *wb_seqnums_send(TALLOC_CTX *mem_ctx,
|
||||
|
||||
state->subreqs = talloc_array(state, struct tevent_req *,
|
||||
state->num_domains);
|
||||
state->domains = talloc_array(state, struct winbindd_domain *,
|
||||
state->num_domains);
|
||||
state->domains = talloc_zero_array(state, struct winbindd_domain *,
|
||||
state->num_domains);
|
||||
state->stati = talloc_array(state, NTSTATUS, state->num_domains);
|
||||
state->seqnums = talloc_array(state, uint32_t, state->num_domains);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user