Re: [Quickfix-developers] quickfix memory leak
Brought to you by:
orenmnero
From: <or...@qu...> - 2014-09-11 18:12:37
|
Agreed. This the relevant destructor at the top of the file: SessionFactory::~SessionFactory() { Dictionaries::iterator i = m_dictionaries.begin(); for ( ; i != m_dictionaries.end(); ++i ) delete i->second; } Looks to me like the dictionaries are being destroyed in the same context they are created. Seems fine. > -------- Original Message -------- > Subject: Re: [Quickfix-developers] quickfix memory leak > From: Viktor Pogrebnyak <pohrebnyak@i.ua> > Date: Thu, September 11, 2014 12:43 pm > To: qui...@li... > > > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > I don't see where this code can leak except program termination due to > missing cleanup for SessionFactoryu::m_dictionaries container. > > > > -- > View this message in context: http://quickfix.13857.n7.nabble.com/quickfix-memory-leak-tp6680p6682.html > Sent from the QuickFIX - Dev mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce > Perforce version control. Predictably reliable. > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers |