diff options
author | Stefan Metzmacher <metze@samba.org> | 2014-01-05 06:16:03 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2014-01-07 00:27:11 +0100 |
commit | 5b39a351a8ceb3bec04236ceb4b2fe10651958a9 (patch) | |
tree | de98579a903f017b3f8b378fa0bed891e7d6afa5 /source3/rpc_client/cli_pipe.c | |
parent | 03006d0e4471465f071517097145806fbe46fdba (diff) | |
download | samba-5b39a351a8ceb3bec04236ceb4b2fe10651958a9.tar.gz samba-5b39a351a8ceb3bec04236ceb4b2fe10651958a9.tar.xz samba-5b39a351a8ceb3bec04236ceb4b2fe10651958a9.zip |
s3:rpc_client: talloc_zero pipe_auth_data
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/rpc_client/cli_pipe.c')
-rw-r--r-- | source3/rpc_client/cli_pipe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index 87c3e8ff0b..65e3f78189 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -2100,7 +2100,7 @@ NTSTATUS rpccli_ncalrpc_bind_data(TALLOC_CTX *mem_ctx, { struct pipe_auth_data *result; - result = talloc(mem_ctx, struct pipe_auth_data); + result = talloc_zero(mem_ctx, struct pipe_auth_data); if (result == NULL) { return NT_STATUS_NO_MEMORY; } @@ -2124,7 +2124,7 @@ NTSTATUS rpccli_anon_bind_data(TALLOC_CTX *mem_ctx, { struct pipe_auth_data *result; - result = talloc(mem_ctx, struct pipe_auth_data); + result = talloc_zero(mem_ctx, struct pipe_auth_data); if (result == NULL) { return NT_STATUS_NO_MEMORY; } @@ -2159,7 +2159,7 @@ static NTSTATUS rpccli_generic_bind_data(TALLOC_CTX *mem_ctx, struct pipe_auth_data *result; NTSTATUS status; - result = talloc(mem_ctx, struct pipe_auth_data); + result = talloc_zero(mem_ctx, struct pipe_auth_data); if (result == NULL) { return NT_STATUS_NO_MEMORY; } |