diff options
| author | Clifford Allan Jansen <cliffjansen@apache.org> | 2012-10-13 19:01:03 +0000 |
|---|---|---|
| committer | Clifford Allan Jansen <cliffjansen@apache.org> | 2012-10-13 19:01:03 +0000 |
| commit | fe2472dc0166502aaed08e8ffe4caa0811daab32 (patch) | |
| tree | 3f0c1941a2793793209e583923c0c0c985afc76c /cpp/src | |
| parent | 7bd4823c53c403ba9cf4defc152962a7ddc96461 (diff) | |
| download | qpid-python-fe2472dc0166502aaed08e8ffe4caa0811daab32.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.cpp | 3 |
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 } } |
