21948: EDF SMESH : Memory is not freed when deleting a mesh

fix leaks of cellLinks

class SMDS_EXPORT SMDS_CellLinks: public vtkCellLinks
{
public:
+  void ResizeForPoint(vtkIdType vtkID);
This commit is contained in:
eap 2012-12-14 13:09:07 +00:00
parent 6bb8dd97b8
commit a29e12d8f9

View File

@ -54,8 +54,7 @@ class SMDS_MeshVolume;
class SMDS_EXPORT SMDS_CellLinks: public vtkCellLinks
{
public:
vtkCellLinks::Link* ResizeL(vtkIdType sz);
vtkIdType GetLinksSize();
void ResizeForPoint(vtkIdType vtkID);
static SMDS_CellLinks* New();
protected:
SMDS_CellLinks();
@ -108,6 +107,7 @@ public:
static SMDS_UnstructuredGrid* New();
SMDS_Mesh *_mesh;
protected:
SMDS_UnstructuredGrid();
~SMDS_UnstructuredGrid();