summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-02 18:20:51 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-02 18:52:29 +1100
commita8d213c151a73b007c62287ae068201c5a36532e (patch)
tree2de44be17242a62c390ed78bcfed8ac2ea76901c /source4
parentb81100c71059698dbf4f1aaae52df48f65836b8e (diff)
downloadsamba-a8d213c151a73b007c62287ae068201c5a36532e.tar.gz
samba-a8d213c151a73b007c62287ae068201c5a36532e.tar.bz2
samba-a8d213c151a73b007c62287ae068201c5a36532e.zip
pyrpc: do the pipe connect on a real memory context
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/rpc/pyrpc.c2
1 files changed, 1 insertions, 1 deletions
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)) {