[ https://issues.apache.org/activemq/browse/AMQCPP-26?page=comments#action_37693 ] Albert Strasheim commented on AMQCPP-26: ----------------------------------------
Sorry, the second leak was supposed to be: Memory leak of 16 bytes from 2 blocks allocated in activemq::transport::IOTransportTest::MyCommandReader::readCommand(void) [vc2005-activemq-unittests.exe] > Memory leaks reported by Rational Purify when running unit tests > ---------------------------------------------------------------- > > Key: AMQCPP-26 > URL: https://issues.apache.org/activemq/browse/AMQCPP-26 > Project: ActiveMQ C++ Client > Issue Type: Bug > Affects Versions: 1.1 > Reporter: Albert Strasheim > Assigned To: Nathan Mittler > Attachments: vc2005-activemq-unittests-purify.txt > > > Rational Purify reports two potential memory leaks in the latest ActiveMQ C++ > code from SVN. I've attached the complete Purfiy output. > Look for the following: > MPK: Potential memory leak of 116 bytes from 1 block allocated in > activemq::core::ActiveMQConnectionFactory::createConnection(basic_string<char,char_traits<char>::std,allocator<char>::std>::std > const&,basic_string<char,char_traits<char>::std,allocator<char>::std>::std > const&,basic_string<char,char_traits<char>::std,allocator<char>::std>::std > const&) [vc2005-activemq-unittests.exe] > Potential memory leak of 116 bytes from 1 block allocated in > activemq::core::ActiveMQConnectionFactory::createConnection(basic_string<char,char_traits<char>::std,allocator<char>::std>::std > const&,basic_string<char,char_traits<char>::std,allocator<char>::std>::std > const&,basic_string<char,char_traits<char>::std,allocator<char>::std>::std > const&) [vc2005-activemq-unittests.exe] > I think the createConnection leak has also been reported on the mailing list. > Complete Purify output attached. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira