diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_client/ndr.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |