Skip to content

CondDBDQScanner - Fix memory leak

Fixes sanitizer memory leak

Direct leak of 1824 byte(s) in 12 object(s) allocated from:
    #0 0x7fa1afea7da8 in operator new(unsigned long) /afs/cern.ch/cms/CAF/CMSCOMM/COMM_ECAL/dkonst/GCC/build/contrib/gcc-8.2.0/src/gcc/8.2.0/libsanitizer/lsan/lsan_interceptors.cc:229
    #1 0x7fa1a1a518fc in XmlCnvSvc::createAddress(long, unsigned int const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const*, unsigned long const*, IOpaqueAddress*&) /workspace/build/LHCb/Tools/XmlTools/src/component/XmlCnvSvc.cpp:112
    #2 0x7fa1a1da4b0a in PersistencySvc::createAddress(long, unsigned int const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const*, unsigned long const*, IOpaqueAddress*&) /workspace/build/Gaudi/GaudiCommonSvc/src/PersistencySvc/PersistencySvc.cpp:300
    #3 0x7fa1a38d21ab in CondDBDQScanner::scan[abi:cxx11](Gaudi::Time const&, Gaudi::Time const&) const /workspace/build/LHCb/Det/DetCond/src/CondDBDQScanner.cpp:58
    #4 0x7fa1a38dd4f6 in DetCondTest::DQScanTest::execute() /workspace/build/LHCb/Det/DetCond/src/DQScanTest.cpp:76
Edited by Marco Cattaneo

Merge request reports

Loading