Salome HOME
Implementation of the '22884: EDF 9622 MED: Filter pipeline Gauss Points + ExtractGro...
[modules/paravis.git] / src / Plugins / MEDReader / IO / vtkExtractCellType.cxx
index cb2c713b2cce0f415e45cd6e070861ee656b43dc..48d0af46f7285f003f1fc682a0ec86dc918bd349 100644 (file)
@@ -1,4 +1,4 @@
-// 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
@@ -264,6 +264,8 @@ vtkExtractCellType::vtkExtractCellType():SIL(NULL),Internal(new vtkExtractCellTy
 
 vtkExtractCellType::~vtkExtractCellType()
 {
+  if(this->SIL)
+    this->SIL->Delete();
   delete this->Internal;
 }