summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2010-09-08 16:49:11 +0000
committerAndrew Stitcher <astitcher@apache.org>2010-09-08 16:49:11 +0000
commitd9e8137e9cc81506a1ee458f4fe73102cc1a4eaf (patch)
treedfddd1f8b35c422992daccc18368cae9bd9d5ec9 /cpp/src/qpid/client
parent8731e866a800cc64cd5bfccefb63646295870cd6 (diff)
downloadqpid-python-d9e8137e9cc81506a1ee458f4fe73102cc1a4eaf.tar.gz
Remove write after frees in Rdma::AsynchIO and qpid::client::RdmaConnector
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@995134 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client')
-rw-r--r--cpp/src/qpid/client/RdmaConnector.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/RdmaConnector.cpp b/cpp/src/qpid/client/RdmaConnector.cpp
index f317fb9e4d..83a7191286 100644
--- a/cpp/src/qpid/client/RdmaConnector.cpp
+++ b/cpp/src/qpid/client/RdmaConnector.cpp
@@ -277,8 +277,9 @@ void RdmaConnector::drained() {
QPID_LOG(debug, "RdmaConnector::drained " << identifier);
assert(!polling);
if (aio) {
- aio->stop(boost::bind(&RdmaConnector::stopped, this, aio));
+ Rdma::AsynchIO* a = aio;
aio = 0;
+ a->stop(boost::bind(&RdmaConnector::stopped, this, a));
}
}