Author: vlendec Date: 2006-05-29 10:59:43 +0000 (Mon, 29 May 2006) New Revision: 15930
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15930 Log: Attempt to fix the buildfarm segfaults -- thanks Tridge for the hints Modified: branches/SAMBA_4_0/source/torture/rpc/bind.c Changeset: Modified: branches/SAMBA_4_0/source/torture/rpc/bind.c =================================================================== --- branches/SAMBA_4_0/source/torture/rpc/bind.c 2006-05-29 06:07:14 UTC (rev 15929) +++ branches/SAMBA_4_0/source/torture/rpc/bind.c 2006-05-29 10:59:43 UTC (rev 15930) @@ -193,6 +193,10 @@ 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",