mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
s3: Explicitly handle inbuf in cli_write_andx_done
This commit is contained in:
parent
78d7f27993
commit
964210b89a
@ -1018,11 +1018,13 @@ static void cli_write_andx_done(struct tevent_req *subreq)
|
||||
req, struct cli_write_andx_state);
|
||||
uint8_t wct;
|
||||
uint16_t *vwv;
|
||||
uint8_t *inbuf;
|
||||
NTSTATUS status;
|
||||
|
||||
status = cli_smb_recv(subreq, NULL, NULL, 6, &wct, &vwv, NULL, NULL);
|
||||
status = cli_smb_recv(subreq, state, &inbuf, 6, &wct, &vwv,
|
||||
NULL, NULL);
|
||||
TALLOC_FREE(subreq);
|
||||
if (NT_STATUS_IS_ERR(status)) {
|
||||
TALLOC_FREE(subreq);
|
||||
tevent_req_nterror(req, status);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user