diff options
-rw-r--r-- | source3/nsswitch/winbindd_async.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/nsswitch/winbindd_async.c b/source3/nsswitch/winbindd_async.c index ccc4f219c6..4021106516 100644 --- a/source3/nsswitch/winbindd_async.c +++ b/source3/nsswitch/winbindd_async.c @@ -67,7 +67,7 @@ static void do_async(TALLOC_CTX *mem_ctx, struct winbindd_child *child, { struct do_async_state *state; - state = TALLOC_P(mem_ctx, struct do_async_state); + state = TALLOC_ZERO_P(mem_ctx, struct do_async_state); if (state == NULL) { DEBUG(0, ("talloc failed\n")); cont(mem_ctx, False, NULL, c, private_data); @@ -94,7 +94,7 @@ void do_async_domain(TALLOC_CTX *mem_ctx, struct winbindd_domain *domain, { struct do_async_state *state; - state = TALLOC_P(mem_ctx, struct do_async_state); + state = TALLOC_ZERO_P(mem_ctx, struct do_async_state); if (state == NULL) { DEBUG(0, ("talloc failed\n")); cont(mem_ctx, False, NULL, c, private_data); @@ -1035,7 +1035,7 @@ void winbindd_gettoken_async(TALLOC_CTX *mem_ctx, const DOM_SID *user_sid, struct winbindd_request request; struct gettoken_state *state; - state = TALLOC_P(mem_ctx, struct gettoken_state); + state = TALLOC_ZERO_P(mem_ctx, struct gettoken_state); if (state == NULL) { DEBUG(0, ("talloc failed\n")); cont(private_data, False, NULL, 0); @@ -1201,7 +1201,7 @@ void winbindd_sid2uid_async(TALLOC_CTX *mem_ctx, const DOM_SID *sid, return; } - state = TALLOC_P(mem_ctx, struct sid2uid_state); + state = TALLOC_ZERO_P(mem_ctx, struct sid2uid_state); if (state == NULL) { DEBUG(0, ("talloc failed\n")); cont(private_data, False, 0); @@ -1363,7 +1363,7 @@ void winbindd_sid2gid_async(TALLOC_CTX *mem_ctx, const DOM_SID *sid, return; } - state = TALLOC_P(mem_ctx, struct sid2gid_state); + state = TALLOC_ZERO_P(mem_ctx, struct sid2gid_state); if (state == NULL) { DEBUG(0, ("talloc failed\n")); cont(private_data, False, 0); |