git.samba.org
/
jelmer
/
samba4-debian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6598efc
)
r15225: Use talloc_zero() to avoid use of uninitialised values later on.
author
Andrew Bartlett
<abartlet@samba.org>
Tue, 25 Apr 2006 06:53:28 +0000
(06:53 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:04:20 +0000
(14:04 -0500)
Andrew Bartlett
source/libcli/finddcs.c
patch
|
blob
|
history
diff --git
a/source/libcli/finddcs.c
b/source/libcli/finddcs.c
index 9ed20b77ba00fdce703e79865fd9b72277cd2c12..aa755b57498e51de31dc5fcde50a75aab17a2fdb 100644
(file)
--- a/
source/libcli/finddcs.c
+++ b/
source/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;