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 commit is contained in:
Stefan Metzmacher 2007-09-06 13:48:01 +00:00 committed by Gerald (Jerry) Carter
parent 9aae9b1d24
commit 678de9ce60

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