diff options
Diffstat (limited to 'source4/torture/rpc/bind.c')
-rw-r--r-- | source4/torture/rpc/bind.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/torture/rpc/bind.c b/source4/torture/rpc/bind.c index 71eaec4f92..6ab36cf510 100644 --- a/source4/torture/rpc/bind.c +++ b/source4/torture/rpc/bind.c @@ -55,12 +55,14 @@ BOOL torture_multi_bind(void) return False; } - status = torture_rpc_connection(&p, + status = torture_rpc_connection(mem_ctx, + &p, NULL, pipe_uuid, pipe_version); if (!NT_STATUS_IS_OK(status)) { + talloc_free(mem_ctx); return False; } @@ -77,7 +79,6 @@ BOOL torture_multi_bind(void) } talloc_free(mem_ctx); - torture_rpc_close(p); return ret; } |