From d102d5ab5785eaaa401b78a16c3446ae7ae59e78 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 15 Oct 2005 08:17:22 +0000 Subject: r11082: Fix a segfault (This used to be commit 576a724bf1350ba7f38f95118224bdee98e0be5a) --- source4/winbind/wb_async_helpers.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/winbind') diff --git a/source4/winbind/wb_async_helpers.c b/source4/winbind/wb_async_helpers.c index 4850ec0d57..0480304abe 100644 --- a/source4/winbind/wb_async_helpers.c +++ b/source4/winbind/wb_async_helpers.c @@ -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); -- cgit