1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

r15225: Use talloc_zero() to avoid use of uninitialised values later on.

Andrew Bartlett
(This used to be commit e312cddafd7e00680dd059fad7ef7e5ecdbbb484)
This commit is contained in:
Andrew Bartlett 2006-04-25 06:53:28 +00:00 committed by Gerald (Jerry) Carter
parent 847e80dee9
commit cc11de1e3e

View File

@ -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;