git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78d7f27
)
s3: Explicitly handle inbuf in cli_write_andx_done
author
Volker Lendecke
<vl@samba.org>
Sat, 20 Feb 2010 14:27:22 +0000
(15:27 +0100)
committer
Volker Lendecke
<vl@samba.org>
Mon, 22 Feb 2010 22:23:20 +0000
(23:23 +0100)
source3/libsmb/clireadwrite.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/clireadwrite.c
b/source3/libsmb/clireadwrite.c
index aa6be3a57ac652f339ef88a3e54546c0825f17ca..7b688d4ff3328f03d4f7aed4ecf49e237af24003 100644
(file)
--- a/
source3/libsmb/clireadwrite.c
+++ b/
source3/libsmb/clireadwrite.c
@@
-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;
}