From 8f3ab786f03e1bb5bf73fe9d7264b1b0bbb90a75 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 6 Sep 2007 13:48:01 +0000 Subject: r24983: setup the correct talloc name for structures used in the generated server stubs metze (This used to be commit 678de9ce6022040403a1afb9157b7ae3af1b027c) --- source4/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source4/pidl/lib') 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 */ -- cgit