summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-01-30 21:25:37 +0100
committerVolker Lendecke <vl@samba.org>2009-01-30 21:29:35 +0100
commitaef749b53fb835226d4e879234b3ac3da1e33557 (patch)
tree9a9103dbc79a47b7df8cef80165c2377767d7b31 /source3
parent40b67c3426042ea46d2497e459807ef9551e62f1 (diff)
downloadsamba-aef749b53fb835226d4e879234b3ac3da1e33557.tar.gz
samba-aef749b53fb835226d4e879234b3ac3da1e33557.tar.bz2
samba-aef749b53fb835226d4e879234b3ac3da1e33557.zip
pass NULL to prs_give_memory, that is a pointer
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_client/cli_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index 83247df46b..e620c13b04 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);