diff options
author | Alan Conway <aconway@apache.org> | 2015-02-26 17:52:40 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2015-02-26 17:52:40 +0000 |
commit | a1c0a42fcbf247597778c7f6bfbc2a2775bfd75f (patch) | |
tree | a02c7af4b2c1b2d27edf727c8135f45e9eecaf02 | |
parent | 716cffec6630f99d8449fff4d5fb5cb82a8f0f6c (diff) | |
download | qpid-python-a1c0a42fcbf247597778c7f6bfbc2a2775bfd75f.tar.gz |
QPID-6415: Core dump in ha_tests and interlink_tests with proton 0.9
With proton 0.9 you need call pn_connectin_free before pn_transport_free.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1662509 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp b/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp index a0b16c2b4c..6630ea2e0d 100644 --- a/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp +++ b/qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp @@ -543,8 +543,8 @@ pn_state_t IS_CLOSED = PN_LOCAL_CLOSED | PN_REMOTE_CLOSED; void ConnectionContext::reset() { - pn_transport_free(engine); pn_connection_free(connection); + pn_transport_free(engine); engine = pn_transport(); connection = pn_connection(); |