-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Valgrind reports possible memory leaks in my project that uses xmlbeansxx:
==26378== 32,196 bytes in 23 blocks are possibly lost in loss record 2,628 of 2,628
==26378== at 0x4C27CC1: operator new(unsigned long) (vg_replace_malloc.c:261)
==26378== by 0x4FFFABB: xercesc_3_1::MemoryManagerImpl::allocate(unsigned long) (in /usr/lib/libxerces-c-3.1.so)
==26378== by 0x4F63333: xercesc_3_1::RangeToken::expand(unsigned int) (in /usr/lib/libxerces-c-3.1.so)
==26378== by 0x4F634A4: xercesc_3_1::RangeToken::addRange(int, int) (in /usr/lib/libxerces-c-3.1.so)
==26378== by 0x4F64175: xercesc_3_1::RangeToken::complementRanges(xercesc_3_1::RangeToken_, xercesc_3_1::TokenFactory_, xercesc_3_1::MemoryManager_) (in /usr/lib/libxerces-c-3.1.so)
==26378== by 0x4F70E90: xercesc_3_1::UnicodeRangeFactory::buildRanges(xercesc_3_1::RangeTokenMap_) (in /usr/lib/libxerces-c-3.1.so)
==26378== by 0x4F64CCB: xercesc_3_1::RangeTokenMap::buildTokenRanges() (in /usr/lib/libxerces-c-3.1.so)
==26378== by 0x4F81D0C: xercesc_3_1::XMLInitializer::initializeStaticData() (in /usr/lib/libxerces-c-3.1.so)
==26378== by 0x61B2DF: xmlbeansxx::(anonymous namespace)::initializeBeans()
==26378== by 0x61B312: xmlbeansxx::(anonymous namespace)::BeansExistence::BeansExistence()
==26378== by 0x61B361: xmlbeansxx::globalTypeSystem()
==26378== by 0x64AFA3: (anonymous namespace)::TypesExistence::TypesExistence()
Should I call deinitializeBeans or something?