summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/client/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/client/client.c b/source4/client/client.c
index 13b7053396..018be29761 100644
--- a/source4/client/client.c
+++ b/source4/client/client.c
@@ -3190,7 +3190,7 @@ static int do_message_op(const char *netbios_name, const char *desthost,
exit(1);
}
- ctx = talloc(mem_ctx, struct smbclient_context);
+ ctx = talloc_zero(mem_ctx, struct smbclient_context);
ctx->io_bufsize = 64512;
pc = poptGetContext("smbclient", argc, (const char **) argv, long_options, 0);