diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-05-07 15:19:53 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:52:09 -0500 |
commit | 68b531e81784d218b598e4ec403443bbc039ca77 (patch) | |
tree | e685ecad58c316d598db1cace2e6108845cd47a5 /source4/libcli | |
parent | 56ab0cd77c7abf777ebe5666a47fa3affea7d2ae (diff) | |
download | samba-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/libcli')
-rw-r--r-- | source4/libcli/finddcs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/finddcs.c b/source4/libcli/finddcs.c index d8acf44ba0..09967c72b1 100644 --- a/source4/libcli/finddcs.c +++ b/source4/libcli/finddcs.c @@ -133,7 +133,7 @@ static void finddcs_name_resolved(struct composite_context *ctx) return; } - nbt_servers = irpc_servers_byname(state->msg_ctx, "nbt_server"); + nbt_servers = irpc_servers_byname(state->msg_ctx, state, "nbt_server"); if ((nbt_servers == NULL) || (nbt_servers[0].id == 0)) { fallback_node_status(state); return; |