From a1c0a42fcbf247597778c7f6bfbc2a2775bfd75f Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 26 Feb 2015 17:52:40 +0000 Subject: 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 --- qpid/cpp/src/qpid/messaging/amqp/ConnectionContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qpid/cpp') 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(); -- cgit v1.2.1