git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e7f0a8
)
s4:smbclient: correct initialize smbclient_context
author
Stefan Metzmacher
<metze@samba.org>
Wed, 7 Jan 2009 05:32:25 +0000
(06:32 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 7 Jan 2009 05:36:23 +0000
(06:36 +0100)
Found by valgrind.
metze
source4/client/client.c
patch
|
blob
|
history
diff --git
a/source4/client/client.c
b/source4/client/client.c
index 13b7053396a4642d0b121966be0b9118bf76946b..018be297610cbf85e95851298702ffae358aa074 100644
(file)
--- 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);