1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

s4:libcli/rap: call->ndr_push_{param,data} can be talloc childs of 'call'

metze
This commit is contained in:
Stefan Metzmacher 2011-12-16 11:25:37 +01:00
parent 17781b1c86
commit 0e04cc2ea4

View File

@ -38,10 +38,10 @@ struct rap_call *new_rap_cli_call(TALLOC_CTX *mem_ctx, uint16_t callno)
call->callno = callno;
call->rcv_paramlen = 4;
call->ndr_push_param = ndr_push_init_ctx(mem_ctx);
call->ndr_push_param = ndr_push_init_ctx(call);
call->ndr_push_param->flags = RAPNDR_FLAGS;
call->ndr_push_data = ndr_push_init_ctx(mem_ctx);
call->ndr_push_data = ndr_push_init_ctx(call);
call->ndr_push_data->flags = RAPNDR_FLAGS;
return call;