From 38f2ef8faa174042d11eae77c50a606d0063ed8c Mon Sep 17 00:00:00 2001 From: Clifford Allan Jansen Date: Sat, 13 Oct 2012 19:01:03 +0000 Subject: 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 --- qpid/cpp/src/qpid/sys/windows/AsynchIO.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'qpid/cpp') 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 } } -- cgit v1.2.1