From 4f024ad3d1fa697bac3db05c27f355dff0941636 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Mon, 11 Sep 2006 20:00:00 +0000 Subject: r18395: have the ndr layer alloc outgoing structure members for us (This used to be commit 4fb35eeb44d434b04282c41e98c4a5767e1a8647) --- source3/rpc_client/ndr.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/rpc_client/ndr.c') diff --git a/source3/rpc_client/ndr.c b/source3/rpc_client/ndr.c index 985490f71c..82b9079a28 100644 --- a/source3/rpc_client/ndr.c +++ b/source3/rpc_client/ndr.c @@ -79,6 +79,8 @@ NTSTATUS cli_do_rpc_ndr(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, return NT_STATUS_NO_MEMORY; } + /* have the ndr parser alloc memory for us */ + pull->flags |= LIBNDR_FLAG_REF_ALLOC; status = pull_fn(pull, NDR_OUT, data); talloc_free(pull); -- cgit