1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r24983: setup the correct talloc name for structures used in the generated

server stubs

metze
(This used to be commit 678de9ce60)
This commit is contained in:
Stefan Metzmacher 2007-09-06 13:48:01 +00:00 committed by Gerald (Jerry) Carter
parent 7c81e6d21c
commit 8f3ab786f0

View File

@ -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 */