Salome HOME
Implementation of the '22884: EDF 9622 MED: Filter pipeline Gauss Points + ExtractGro...
[modules/paravis.git] / src / Plugins / MEDReader / IO / vtkExtractCellType.cxx
index ff5fde36db53cea8c14a354f5fa6d13083418d0d..48d0af46f7285f003f1fc682a0ec86dc918bd349 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2010-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2010-2015  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -264,6 +264,8 @@ vtkExtractCellType::vtkExtractCellType():SIL(NULL),Internal(new vtkExtractCellTy
 
 vtkExtractCellType::~vtkExtractCellType()
 {
+  if(this->SIL)
+    this->SIL->Delete();
   delete this->Internal;
 }