1
0
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:
Volker Lendecke 2005-10-15 08:17:22 +00:00 committed by Gerald (Jerry) Carter
parent bfa41398a6
commit 576a724bf1

View File

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