summaryrefslogtreecommitdiff
path: root/source3/libsmb/smb2cli_base.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-08 17:57:56 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-09 12:40:28 +0200
commitfacc110c79b9ec4e3b0509ad6b00e1fd464d3a33 (patch)
tree76b9b1fccccbf85e376d775dd08760279415e0fd /source3/libsmb/smb2cli_base.h
parent504d092aa7d83304373b001cbe68c65a62a824bb (diff)
downloadsamba-facc110c79b9ec4e3b0509ad6b00e1fd464d3a33.tar.gz
samba-facc110c79b9ec4e3b0509ad6b00e1fd464d3a33.tar.bz2
samba-facc110c79b9ec4e3b0509ad6b00e1fd464d3a33.zip
s3:smb2cli_base: fix memory hierachy in smb2cli_req_recv()
We need to use talloc_reference() if there're more than one response, but we use it in a way that the caller can't call talloc_free() or talloc_unlink() on it. metze
Diffstat (limited to 'source3/libsmb/smb2cli_base.h')
-rw-r--r--source3/libsmb/smb2cli_base.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/libsmb/smb2cli_base.h b/source3/libsmb/smb2cli_base.h
index 09a6b7faaa..9c49a8c8d3 100644
--- a/source3/libsmb/smb2cli_base.h
+++ b/source3/libsmb/smb2cli_base.h
@@ -42,6 +42,5 @@ struct tevent_req *smb2cli_req_send(TALLOC_CTX *mem_ctx,
uint16_t dyn_len);
NTSTATUS smb2cli_req_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
struct iovec **piov, int body_size);
-uint8_t *smb2cli_req_inbuf(struct tevent_req *req);
#endif