diff options
author | Andrew Bartlett <abartlet@samba.org> | 2006-04-25 06:53:28 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:04:20 -0500 |
commit | cc11de1e3e938fc65e99e2c597e6f25659371e87 (patch) | |
tree | d93b742d573dd69b0ab271008d82cad406eaf73a /source4/libcli | |
parent | 847e80dee9c405f021c67d5ffb09804751ea2be7 (diff) | |
download | samba-cc11de1e3e938fc65e99e2c597e6f25659371e87.tar.gz samba-cc11de1e3e938fc65e99e2c597e6f25659371e87.tar.bz2 samba-cc11de1e3e938fc65e99e2c597e6f25659371e87.zip |
r15225: Use talloc_zero() to avoid use of uninitialised values later on.
Andrew Bartlett
(This used to be commit e312cddafd7e00680dd059fad7ef7e5ecdbbb484)
Diffstat (limited to 'source4/libcli')
-rw-r--r-- | source4/libcli/finddcs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/finddcs.c b/source4/libcli/finddcs.c index 9ed20b77ba..aa755b5749 100644 --- a/source4/libcli/finddcs.c +++ b/source4/libcli/finddcs.c @@ -70,7 +70,7 @@ struct composite_context *finddcs_send(TALLOC_CTX *mem_ctx, struct finddcs_state *state; struct nbt_name name; - result = talloc(mem_ctx, struct composite_context); + result = talloc_zero(mem_ctx, struct composite_context); if (result == NULL) goto failed; result->state = COMPOSITE_STATE_IN_PROGRESS; result->async.fn = NULL; |