mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r11082: Fix a segfault
This commit is contained in:
parent
bfa41398a6
commit
576a724bf1
@ -139,6 +139,7 @@ static void finddcs_getdc(struct irpc_request *ireq)
|
||||
talloc_get_type(ireq->async.private, struct finddcs_state);
|
||||
|
||||
state->ctx->status = irpc_call_recv(ireq);
|
||||
talloc_free(ireq);
|
||||
if (!composite_is_ok(state->ctx)) return;
|
||||
|
||||
state->dcs[0].name = talloc_steal(state->dcs, state->r.out.dcname);
|
||||
|
Loading…
Reference in New Issue
Block a user