mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s4:rpc_server: Use talloc_zero in dcesrv_lsa_CreateTrustedDomain()
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
8b1c0bd718
commit
18af510bd5
@ -1449,7 +1449,7 @@ static NTSTATUS dcesrv_lsa_CreateTrustedDomain(struct dcesrv_call_state *dce_cal
|
||||
struct lsa_CreateTrustedDomainEx2 r2 = {};
|
||||
|
||||
r2.in.policy_handle = r->in.policy_handle;
|
||||
r2.in.info = talloc(mem_ctx, struct lsa_TrustDomainInfoInfoEx);
|
||||
r2.in.info = talloc_zero(mem_ctx, struct lsa_TrustDomainInfoInfoEx);
|
||||
if (!r2.in.info) {
|
||||
return NT_STATUS_NO_MEMORY;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user