git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53b9a24
)
Properly free a downlevel readv request. Metze, please check
author
Volker Lendecke
<vl@samba.org>
Sat, 27 Jun 2009 18:04:37 +0000
(20:04 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sat, 27 Jun 2009 21:17:49 +0000
(23:17 +0200)
lib/tsocket/tsocket.c
patch
|
blob
|
history
diff --git
a/lib/tsocket/tsocket.c
b/lib/tsocket/tsocket.c
index e05c8d53f5be4a58d20d754e50b064315ddbefc9..55f1af3894e7669b9b6c4c6cabe6354989586370 100644
(file)
--- 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;