diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-01-07 06:32:25 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-01-07 06:36:23 +0100 |
commit | 07e01f8405f2bd3f0ee521e8aebf2c647052104f (patch) | |
tree | 1dd61663d09617196e9d2d4edd79aebdabeee18b /source4/client | |
parent | 4e7f0a88513363b03878df094ed8ccc9b159f165 (diff) | |
download | samba-07e01f8405f2bd3f0ee521e8aebf2c647052104f.tar.gz samba-07e01f8405f2bd3f0ee521e8aebf2c647052104f.tar.bz2 samba-07e01f8405f2bd3f0ee521e8aebf2c647052104f.zip |
s4:smbclient: correct initialize smbclient_context
Found by valgrind.
metze
Diffstat (limited to 'source4/client')
-rw-r--r-- | source4/client/client.c | 2 |
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); |