summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/qpid/ha/TxReplicator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/ha/TxReplicator.cpp b/qpid/cpp/src/qpid/ha/TxReplicator.cpp
index 95afdb9759..9ae9dcce36 100644
--- a/qpid/cpp/src/qpid/ha/TxReplicator.cpp
+++ b/qpid/cpp/src/qpid/ha/TxReplicator.cpp
@@ -237,7 +237,7 @@ void TxReplicator::backups(const string& data, sys::Mutex::ScopedLock& l) {
void TxReplicator::end(sys::Mutex::ScopedLock&) {
ended = true;
- txBuffer.reset();
+ txBuffer = 0;
// QueueReplicator::destroy cancels subscription to the primary tx-queue
// which allows the primary to clean up resources.
sys::Mutex::ScopedUnlock u(lock);