summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
diff options
context:
space:
mode:
authorClifford Allan Jansen <cliffjansen@apache.org>2012-10-13 19:01:03 +0000
committerClifford Allan Jansen <cliffjansen@apache.org>2012-10-13 19:01:03 +0000
commit38f2ef8faa174042d11eae77c50a606d0063ed8c (patch)
tree5214580b138c030c4789faaf0aedb01949454c65 /qpid/cpp/src
parentadb54b3343ad0c8a554a113cc13cd81286bdf090 (diff)
downloadqpid-python-38f2ef8faa174042d11eae77c50a606d0063ed8c.tar.gz
QPID-4345: plug Windows memory leak on close (async write error)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397926 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/qpid/sys/windows/AsynchIO.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/sys/windows/AsynchIO.cpp b/qpid/cpp/src/qpid/sys/windows/AsynchIO.cpp
index 355acbe0e6..618d0e14c7 100644
--- a/qpid/cpp/src/qpid/sys/windows/AsynchIO.cpp
+++ b/qpid/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
}
}