]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Memory leak hunting
authorAnthony Geay <anthony.geay@edf.fr>
Fri, 20 Jan 2017 09:21:28 +0000 (10:21 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Fri, 20 Jan 2017 09:21:28 +0000 (10:21 +0100)
src/MEDLoader/MEDFileEntities.cxx
src/MEDLoader/MEDFileEntities.hxx

index dee2c2e9fc8dea8d9badc329bc00794a5f22cdb3..0ccd360710c95d300a214a252a79360b0da04e0b 100644 (file)
@@ -38,6 +38,10 @@ MEDFileEntities *MEDFileEntities::BuildFrom(const MEDFileStructureElements& se)
     return new MEDFileAllStaticEntitiesPlusDyn(&se);
 }
 
+MEDFileEntities::~MEDFileEntities()
+{
+}
+
 //////////////
 
 std::vector<int> MEDFileStaticEntities::getDynGTAvail() const
index 3371273d9282d7439dbf0035add8e8e071018af0..45c7b07fe93ecab3a42ea3646cb3b093f5eae606 100644 (file)
@@ -37,6 +37,7 @@ namespace MEDCoupling
     static MEDFileEntities *BuildFrom(const MEDFileStructureElements& se);
     virtual std::vector<int> getDynGTAvail() const = 0;
     virtual bool areAllStaticTypesPresent() const = 0;
+    virtual ~MEDFileEntities();
   };
 
   class MEDFileStaticEntities : public MEDFileEntities