summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorClifford Jansen <cliffjansen@apache.org>2012-10-13 19:01:03 +0000
committerClifford Jansen <cliffjansen@apache.org>2012-10-13 19:01:03 +0000
commitebbc85c99d48c5a2b5cbd5163b15f3a88c964303 (patch)
tree3f0c1941a2793793209e583923c0c0c985afc76c /cpp/src
parent94b59b354095d18db94d0fc1370c1c806bc407f0 (diff)
downloadqpid-python-ebbc85c99d48c5a2b5cbd5163b15f3a88c964303.tar.gz
QPID-4345: plug Windows memory leak on close (async write error)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1397926 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/sys/windows/AsynchIO.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/qpid/sys/windows/AsynchIO.cpp b/cpp/src/qpid/sys/windows/AsynchIO.cpp
index 355acbe0e6..618d0e14c7 100644
--- a/cpp/src/qpid/sys/windows/AsynchIO.cpp
+++ b/cpp/src/qpid/sys/windows/AsynchIO.cpp
@@ -683,7 +683,8 @@ void AsynchIO::writeComplete(AsynchWriteResult *result) {
else {
// An error... if it's a connection close, ignore it - it will be
// noticed and handled on a read completion any moment now.
- // What to do with real error??? Save the Buffer?
+ // What to do with real error??? Save the Buffer? TBD.
+ queueReadBuffer(buff); // All done; back to the pool
}
}