X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPlugins%2FMEDReader%2FIO%2FvtkExtractCellType.cxx;h=48d0af46f7285f003f1fc682a0ec86dc918bd349;hb=b3cf21be6ea6647a3571c031ac9a1993bd0a280e;hp=ff5fde36db53cea8c14a354f5fa6d13083418d0d;hpb=9dbade0021c7a8e21aedcfb28be257886abed924;p=modules%2Fparavis.git diff --git a/src/Plugins/MEDReader/IO/vtkExtractCellType.cxx b/src/Plugins/MEDReader/IO/vtkExtractCellType.cxx index ff5fde36..48d0af46 100644 --- a/src/Plugins/MEDReader/IO/vtkExtractCellType.cxx +++ b/src/Plugins/MEDReader/IO/vtkExtractCellType.cxx @@ -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; }