summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-06-27 20:04:37 +0200
committerVolker Lendecke <vl@samba.org>2009-06-27 23:17:49 +0200
commitc687eb15d953006f1de1e02abad40365040a29f1 (patch)
treee3de540cd8998e46edaf3dfb05c85071d399c7cd /lib
parent53b9a24ce38acc79d8086b502f0e8ff048ef67bc (diff)
downloadsamba-c687eb15d953006f1de1e02abad40365040a29f1.tar.gz
samba-c687eb15d953006f1de1e02abad40365040a29f1.tar.xz
samba-c687eb15d953006f1de1e02abad40365040a29f1.zip
Properly free a downlevel readv request. Metze, please check
Diffstat (limited to 'lib')
-rw-r--r--lib/tsocket/tsocket.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tsocket/tsocket.c b/lib/tsocket/tsocket.c
index e05c8d53f5b..55f1af3894e 100644
--- a/lib/tsocket/tsocket.c
+++ b/lib/tsocket/tsocket.c
@@ -594,6 +594,7 @@ static void tstream_readv_done(struct tevent_req *subreq)
int sys_errno;
ret = state->ops->readv_recv(subreq, &sys_errno);
+ TALLOC_FREE(subreq);
if (ret == -1) {
tevent_req_error(req, sys_errno);
return;