diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-12-02 07:30:34 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:46:59 -0500 |
commit | 150848248a8b97c58a6f09c83a8784e61f858170 (patch) | |
tree | 44c93b90e5d1e015d887fd47d27f4306184ae6b6 /source4/winbind | |
parent | e4ed5dd5bc35df7ded773600f993603573e665ca (diff) | |
download | samba-150848248a8b97c58a6f09c83a8784e61f858170.tar.gz samba-150848248a8b97c58a6f09c83a8784e61f858170.tar.bz2 samba-150848248a8b97c58a6f09c83a8784e61f858170.zip |
r12014: free the irpc_request structure with the irpc_call_recv functions,
to match all other _recv functions we have
metze
(This used to be commit bd4f85ab5f60c7430ac88062fa6a9f6cffa9596f)
Diffstat (limited to 'source4/winbind')
-rw-r--r-- | source4/winbind/wb_async_helpers.c | 1 | ||||
-rw-r--r-- | source4/winbind/wb_dom_info.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/source4/winbind/wb_async_helpers.c b/source4/winbind/wb_async_helpers.c index cfbfe5f74f..8efd19f96b 100644 --- a/source4/winbind/wb_async_helpers.c +++ b/source4/winbind/wb_async_helpers.c @@ -141,7 +141,6 @@ 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); diff --git a/source4/winbind/wb_dom_info.c b/source4/winbind/wb_dom_info.c index 5be28cc055..4f27243511 100644 --- a/source4/winbind/wb_dom_info.c +++ b/source4/winbind/wb_dom_info.c @@ -132,7 +132,6 @@ static void get_dom_info_recv_dcname(struct irpc_request *ireq) state->ctx->status = irpc_call_recv(ireq); - talloc_free(ireq); if (!composite_is_ok(state->ctx)) return; state->info->dc_name = talloc_steal(state->info, state->r.out.dcname); |