From a8d213c151a73b007c62287ae068201c5a36532e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 2 Apr 2010 18:20:51 +1100 Subject: pyrpc: do the pipe connect on a real memory context --- source4/librpc/rpc/pyrpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/librpc/rpc') diff --git a/source4/librpc/rpc/pyrpc.c b/source4/librpc/rpc/pyrpc.c index 012f188ce1..2398f27d4a 100644 --- a/source4/librpc/rpc/pyrpc.c +++ b/source4/librpc/rpc/pyrpc.c @@ -346,7 +346,7 @@ PyObject *py_dcerpc_interface_init_helper(PyTypeObject *type, PyObject *args, Py status = dcerpc_secondary_context(base_pipe, &ret->pipe, table); } else { - status = dcerpc_pipe_connect(NULL, &ret->pipe, binding_string, + status = dcerpc_pipe_connect(event_ctx, &ret->pipe, binding_string, table, credentials, event_ctx, lp_ctx); } if (NT_STATUS_IS_ERR(status)) { -- cgit