[Quickfix-developers] Leak at DataDictionary::readMSXML ?
Brought to you by:
orenmnero
From: Hugo L. <Hug...@in...> - 2002-11-26 16:01:34
|
I'm using quickfix 1.3.2 on Visual C++ 6.0 and I'm getting some memory leaks after creating an Acceptor. After tracking down the problem, it came to DataDictionary::readMSXML. If we look at the code (DataDictionary.cpp, line 323(?)): (...) FIXContent* pContent = new FIXContent( *this ); (...) When is this deleted ? Seems like a forgotten pointer. If I delete it at the end of readMSXML : (...) pRdr->Release(); CoUninitialize(); delete pContent; (...) the memory leaks go away. Thanks in advance, Hugo Leote |