summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-05-29 10:59:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:41 -0500
commit279e9166defca334d27bdde7805760a7de1f169f (patch)
treefe350fb673632d556529a5ae4dde886f2914ff99 /source4/torture
parent3a4d7eb2c08a06fac89c34d132f1c32751ce7ad5 (diff)
downloadsamba-279e9166defca334d27bdde7805760a7de1f169f.tar.gz
samba-279e9166defca334d27bdde7805760a7de1f169f.tar.bz2
samba-279e9166defca334d27bdde7805760a7de1f169f.zip
r15930: Attempt to fix the buildfarm segfaults -- thanks Tridge for the hints
(This used to be commit e363020115fc17caee6c3230d46fff41670a27d4)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/bind.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/torture/rpc/bind.c b/source4/torture/rpc/bind.c
index cece5eb928..5267623e96 100644
--- a/source4/torture/rpc/bind.c
+++ b/source4/torture/rpc/bind.c
@@ -193,6 +193,10 @@ BOOL torture_bind_authcontext(struct torture_context *torture)
status = dcerpc_lsa_OpenPolicy2(lsa_pipe, mem_ctx, &openpolicy);
+ cli->tree->session = tmp;
+ talloc_free(lsa_pipe);
+ lsa_pipe = NULL;
+
if (!NT_STATUS_EQUAL(status, NT_STATUS_INVALID_HANDLE)) {
d_printf("dcerpc_lsa_OpenPolicy2 with wrong vuid gave %s, "
"expected NT_STATUS_INVALID_HANDLE\n",