From fe2472dc0166502aaed08e8ffe4caa0811daab32 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/qpid@1397926 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/sys/windows/AsynchIO.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpp/src') 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 } } -- cgit v1.2.1