X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPlugins%2FMEDReader%2FIO%2FvtkExtractCellType.cxx;h=de68490db686357433b845fcb56872c283f7bb68;hb=f50743d07c99b985dd078aad0fb4bbf7337851cc;hp=cb2c713b2cce0f415e45cd6e070861ee656b43dc;hpb=866822387420d8da61654fcabf49a9e51308c507;p=modules%2Fparavis.git diff --git a/src/Plugins/MEDReader/IO/vtkExtractCellType.cxx b/src/Plugins/MEDReader/IO/vtkExtractCellType.cxx index cb2c713b..de68490d 100644 --- a/src/Plugins/MEDReader/IO/vtkExtractCellType.cxx +++ b/src/Plugins/MEDReader/IO/vtkExtractCellType.cxx @@ -264,6 +264,8 @@ vtkExtractCellType::vtkExtractCellType():SIL(NULL),Internal(new vtkExtractCellTy vtkExtractCellType::~vtkExtractCellType() { + if(this->SIL) + this->SIL->Delete(); delete this->Internal; }