diff options
Diffstat (limited to 'source3/librpc/gen_ndr/srv_netlogon.c')
-rw-r--r-- | source3/librpc/gen_ndr/srv_netlogon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/librpc/gen_ndr/srv_netlogon.c b/source3/librpc/gen_ndr/srv_netlogon.c index 9b87c61853..e964918403 100644 --- a/source3/librpc/gen_ndr/srv_netlogon.c +++ b/source3/librpc/gen_ndr/srv_netlogon.c @@ -2836,7 +2836,7 @@ static BOOL api_netr_DsrEnumerateDomainTrusts(pipes_struct *p) return False; } - r.out.trusts = talloc_zero_array(mem_ctx, struct netr_DomainTrust *, count); + r.out.trusts = talloc_zero_array(mem_ctx, struct netr_DomainTrust *, r.out.count); if (r.out.trusts == NULL) { talloc_free(mem_ctx); return False; |