summaryrefslogtreecommitdiff
path: root/source4/winbind/wb_dom_info.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-05-07 15:19:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:52:09 -0500
commit68b531e81784d218b598e4ec403443bbc039ca77 (patch)
treee685ecad58c316d598db1cace2e6108845cd47a5 /source4/winbind/wb_dom_info.c
parent56ab0cd77c7abf777ebe5666a47fa3affea7d2ae (diff)
downloadsamba-68b531e81784d218b598e4ec403443bbc039ca77.tar.gz
samba-68b531e81784d218b598e4ec403443bbc039ca77.tar.bz2
samba-68b531e81784d218b598e4ec403443bbc039ca77.zip
r22748: fix memleaks by passing an mem_ctx to
irpc_servers_byname() metze (This used to be commit b54584dfabee77ec7743cab431bda9765057a295)
Diffstat (limited to 'source4/winbind/wb_dom_info.c')
-rw-r--r--source4/winbind/wb_dom_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/winbind/wb_dom_info.c b/source4/winbind/wb_dom_info.c
index 28f35c2095..39a734aace 100644
--- a/source4/winbind/wb_dom_info.c
+++ b/source4/winbind/wb_dom_info.c
@@ -96,7 +96,7 @@ static void get_dom_info_recv_addrs(struct composite_context *ctx)
if (!composite_is_ok(state->ctx)) return;
nbt_servers = irpc_servers_byname(state->service->task->msg_ctx,
- "nbt_server");
+ state, "nbt_server");
if ((nbt_servers == NULL) || (nbt_servers[0].id == 0)) {
composite_error(state->ctx, NT_STATUS_NO_LOGON_SERVERS);
return;