From: Anthony Geay Date: Fri, 20 Jan 2017 09:21:28 +0000 (+0100) Subject: Memory leak hunting X-Git-Tag: V8_3_0a2~38^2~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=31d130561e27c4b15b2a17c40f42351fa4dd7ef2;p=tools%2Fmedcoupling.git Memory leak hunting --- diff --git a/src/MEDLoader/MEDFileEntities.cxx b/src/MEDLoader/MEDFileEntities.cxx index dee2c2e9f..0ccd36071 100644 --- a/src/MEDLoader/MEDFileEntities.cxx +++ b/src/MEDLoader/MEDFileEntities.cxx @@ -38,6 +38,10 @@ MEDFileEntities *MEDFileEntities::BuildFrom(const MEDFileStructureElements& se) return new MEDFileAllStaticEntitiesPlusDyn(&se); } +MEDFileEntities::~MEDFileEntities() +{ +} + ////////////// std::vector MEDFileStaticEntities::getDynGTAvail() const diff --git a/src/MEDLoader/MEDFileEntities.hxx b/src/MEDLoader/MEDFileEntities.hxx index 3371273d9..45c7b07fe 100644 --- a/src/MEDLoader/MEDFileEntities.hxx +++ b/src/MEDLoader/MEDFileEntities.hxx @@ -37,6 +37,7 @@ namespace MEDCoupling static MEDFileEntities *BuildFrom(const MEDFileStructureElements& se); virtual std::vector getDynGTAvail() const = 0; virtual bool areAllStaticTypesPresent() const = 0; + virtual ~MEDFileEntities(); }; class MEDFileStaticEntities : public MEDFileEntities