summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-06-06 10:49:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:34 -0500
commitae444c03ea95887897b57799aa436bfed7c577da (patch)
tree872ef0d64b9ac557b8ddd0b71d522ca808ac13d1 /source4/rpc_server
parentb2e95101db1104ed22039be6e441f941c7c56df5 (diff)
downloadsamba-ae444c03ea95887897b57799aa436bfed7c577da.tar.gz
samba-ae444c03ea95887897b57799aa436bfed7c577da.tar.bz2
samba-ae444c03ea95887897b57799aa436bfed7c577da.zip
r1046: initialise a structure element caught by valgrind
(This used to be commit 4daab1eaec633d97974d7d02f5c1a9e908392a7a)
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/epmapper/rpc_epmapper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/rpc_server/epmapper/rpc_epmapper.c b/source4/rpc_server/epmapper/rpc_epmapper.c
index 891876c2d8..968c33d6d3 100644
--- a/source4/rpc_server/epmapper/rpc_epmapper.c
+++ b/source4/rpc_server/epmapper/rpc_epmapper.c
@@ -296,6 +296,7 @@ static NTSTATUS epm_Map(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
break;
}
fill_protocol_tower(mem_ctx, &r->out.towers->twr->towers, &eps[i]);
+ r->out.towers->twr->tower_length = 0;
return NT_STATUS_OK;
}