summaryrefslogtreecommitdiff
path: root/source4/rpc_server/epmapper
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-10-21 15:15:48 +1100
committerAndrew Bartlett <abartlet@samba.org>2009-10-21 22:43:55 +1100
commit47daa272c04497418594fdec137033e0f342348b (patch)
tree07c976df37fbd619623992a5ad2295c1896d7c17 /source4/rpc_server/epmapper
parent154747759e24903106549a341a3fd86624abe6b5 (diff)
downloadsamba-47daa272c04497418594fdec137033e0f342348b.tar.gz
samba-47daa272c04497418594fdec137033e0f342348b.tar.bz2
samba-47daa272c04497418594fdec137033e0f342348b.zip
s4:epmapper Create a proper talloc tree of endpoint floors
Andrew Bartlett
Diffstat (limited to 'source4/rpc_server/epmapper')
-rw-r--r--source4/rpc_server/epmapper/rpc_epmapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/epmapper/rpc_epmapper.c b/source4/rpc_server/epmapper/rpc_epmapper.c
index 535f19ea76..ade8b6909e 100644
--- a/source4/rpc_server/epmapper/rpc_epmapper.c
+++ b/source4/rpc_server/epmapper/rpc_epmapper.c
@@ -65,7 +65,7 @@ static uint32_t build_ep_list(TALLOC_CTX *mem_ctx,
description = d->ep_description;
description->object = iface->iface.syntax_id;
- status = dcerpc_binding_build_tower(mem_ctx, description, &(*eps)[total].ep);
+ status = dcerpc_binding_build_tower(*eps, description, &(*eps)[total].ep);
if (NT_STATUS_IS_ERR(status)) {
DEBUG(1, ("Unable to build tower for %s\n", iface->iface.name));
continue;