1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-10 13:57:47 +03:00

pass NULL to prs_give_memory, that is a pointer

This commit is contained in:
Volker Lendecke 2009-01-30 21:25:37 +01:00
parent 40b67c3426
commit aef749b53f

View File

@ -1252,7 +1252,7 @@ static struct async_req *rpc_api_pipe_send(TALLOC_CTX *mem_ctx,
prs_init_empty(&state->incoming_pdu, state, UNMARSHALL);
/* Make incoming_pdu dynamic with no memory. */
prs_give_memory(&state->incoming_pdu, 0, 0, true);
prs_give_memory(&state->incoming_pdu, NULL, 0, true);
talloc_set_destructor(state, rpc_api_pipe_state_destructor);