summaryrefslogtreecommitdiff
path: root/source4/pidl
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-09-06 13:48:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:03:44 -0500
commit8f3ab786f03e1bb5bf73fe9d7264b1b0bbb90a75 (patch)
tree46893693762a6fd68c3516f76e6f71deb1e9df75 /source4/pidl
parent7c81e6d21c5a23e1f2e5d0f1717cce292d466e89 (diff)
downloadsamba-8f3ab786f03e1bb5bf73fe9d7264b1b0bbb90a75.tar.gz
samba-8f3ab786f03e1bb5bf73fe9d7264b1b0bbb90a75.tar.bz2
samba-8f3ab786f03e1bb5bf73fe9d7264b1b0bbb90a75.zip
r24983: setup the correct talloc name for structures used in the generated
server stubs metze (This used to be commit 678de9ce6022040403a1afb9157b7ae3af1b027c)
Diffstat (limited to 'source4/pidl')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm
index b6980acc0f..ed17fcc0da 100644
--- a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm
+++ b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm
@@ -111,7 +111,10 @@ static NTSTATUS $name\__op_ndr_pull(struct dcesrv_call_state *dce_call, TALLOC_C
return NT_STATUS_NET_WRITE_FAULT;
}
- *r = talloc_size(mem_ctx, ndr_table_$name.calls[opnum].struct_size);
+ *r = talloc_named(mem_ctx,
+ ndr_table_$name.calls[opnum].struct_size,
+ \"struct %s\",
+ ndr_table_$name.calls[opnum].name);
NT_STATUS_HAVE_NO_MEMORY(*r);
/* unravel the NDR for the packet */