From: Volker Lendecke Date: Fri, 30 Jan 2009 20:25:37 +0000 (+0100) Subject: pass NULL to prs_give_memory, that is a pointer X-Git-Tag: samba-4.0.0alpha7~417^2~225 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aef749b53fb835226d4e879234b3ac3da1e33557;p=thirdparty%2Fsamba.git pass NULL to prs_give_memory, that is a pointer --- diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index 83247df46b1..e620c13b041 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -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);