qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From et3w503 <et3w...@yahoo.com>
Subject Re: Memory leak in QPID C++ Broker
Date Fri, 05 Aug 2011 03:28:33 GMT
I traced the call stack

const&, bool) (in /usr/lib/libqpidbroker.so.0.1.0) "

line 61:line state.reset(new SessionState(broker, h, id, config)); 

will new a SessionState object, then the instance will assign to
line 72: session = connection.broker.getSessionManager().attach(*this, id,

The class member session is aslo wrapped by auto_ptr. 
My question is the session will be release automatically after
SessionHandler or we should release it manually?

View this message in context: http://apache-qpid-developers.2158895.n2.nabble.com/Memory-leak-in-QPID-C-Broker-tp6651794p6655155.html
Sent from the Apache Qpid developers mailing list archive at Nabble.com.

Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org

View raw message