From: geay Date: Fri, 18 Apr 2014 13:15:36 +0000 (+0200) Subject: The last memory leak hunting. All tests do not leak. X-Git-Tag: V7_4_0rc1~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f9ce225c51c5710180b2caf560360050caa616ac;p=modules%2Fparavis.git The last memory leak hunting. All tests do not leak. --- 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; }