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 | 66492b430dcdb6e5a8add0b9978715e81bc2140c (patch) | |
| tree | f42a843ea31e961b4669755edbdf05cb90992286 /cpp | |
| parent | dbb4be2cb7bfe75595e6981838f518c87ca585a6 (diff) | |
| download | qpid-python-66492b430dcdb6e5a8add0b9978715e81bc2140c.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/qpid@1662509 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
| -rw-r--r-- | cpp/src/qpid/messaging/amqp/ConnectionContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp b/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp index a0b16c2b4c..6630ea2e0d 100644 --- a/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp +++ b/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(); |
