From: Stefan Metzmacher Date: Fri, 17 Aug 2012 06:25:08 +0000 (+0200) Subject: s4:libcli/smb2: reset trsnport->compound.related when a compound chain is finished X-Git-Tag: samba-4.0.0beta7~156 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e2b07c0adca680d73f20744fd8dbbcb8be818ca3;p=thirdparty%2Fsamba.git s4:libcli/smb2: reset trsnport->compound.related when a compound chain is finished metze --- diff --git a/source4/libcli/smb2/transport.c b/source4/libcli/smb2/transport.c index 0acfb35a08d..bdab523f4fb 100644 --- a/source4/libcli/smb2/transport.c +++ b/source4/libcli/smb2/transport.c @@ -234,6 +234,7 @@ void smb2_transport_send(struct smb2_request *req) status = smb2cli_req_compound_submit(reqs, num_reqs); TALLOC_FREE(transport->compound.reqs); + transport->compound.related = false; if (!NT_STATUS_IS_OK(status)) { req->status = status;