diff --git a/InnerDetector/InDetDetDescr/PixelGeoModelXml/src/ITkPixelDetectorTool.cxx b/InnerDetector/InDetDetDescr/PixelGeoModelXml/src/ITkPixelDetectorTool.cxx index bfcc33eac72db0f0fd975c9d00ae830dc2cfc2fa..6263ec716c166114679915c1d172cb4db66ca00b 100644 --- a/InnerDetector/InDetDetDescr/PixelGeoModelXml/src/ITkPixelDetectorTool.cxx +++ b/InnerDetector/InDetDetDescr/PixelGeoModelXml/src/ITkPixelDetectorTool.cxx @@ -52,7 +52,8 @@ ITkPixelDetectorTool::ITkPixelDetectorTool(const std::string &type, } ITkPixelDetectorTool::~ITkPixelDetectorTool() { - // delete m_athenaComps; + delete m_athenaComps; + delete m_commonItems; } StatusCode ITkPixelDetectorTool::create() { diff --git a/InnerDetector/InDetDetDescr/PixelGeoModelXml/src/PixelGmxInterface.cxx b/InnerDetector/InDetDetDescr/PixelGeoModelXml/src/PixelGmxInterface.cxx index dbd809c8080451d72d65025751e70b364b5c90ab..e8080c3552370f34deb5b3bca3480af2fa94ccfb 100644 --- a/InnerDetector/InDetDetDescr/PixelGeoModelXml/src/PixelGmxInterface.cxx +++ b/InnerDetector/InDetDetDescr/PixelGeoModelXml/src/PixelGmxInterface.cxx @@ -37,7 +37,6 @@ PixelGmxInterface::PixelGmxInterface(InDetDD::PixelDetectorManager *detectorMana } PixelGmxInterface::~PixelGmxInterface() { - delete m_commonItems; } int PixelGmxInterface::moduleId(map<string, int> &index){