summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-10-15 08:17:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:44:45 -0500
commitd102d5ab5785eaaa401b78a16c3446ae7ae59e78 (patch)
treef04b28b93f1aa5d01bc8ce7e18a604bf21e79132 /source4
parent1bdd3a466d8ffc77139ce20cb6587b0c45dcbd82 (diff)
downloadsamba-d102d5ab5785eaaa401b78a16c3446ae7ae59e78.tar.gz
samba-d102d5ab5785eaaa401b78a16c3446ae7ae59e78.tar.bz2
samba-d102d5ab5785eaaa401b78a16c3446ae7ae59e78.zip
r11082: Fix a segfault
(This used to be commit 576a724bf1350ba7f38f95118224bdee98e0be5a)
Diffstat (limited to 'source4')
-rw-r--r--source4/winbind/wb_async_helpers.c1
1 files changed, 1 insertions, 0 deletions
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);