mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
0021480: EDF 2084 SMESH: SIGSEGV when validating Netgen3D hypothesis
In ~TPreviewMesh(), nullify _myMeshDS after destruction
This commit is contained in:
parent
6a0dd162a9
commit
1ef48564e5
@ -94,7 +94,7 @@ namespace {
|
|||||||
myPreviewType = previewElements;
|
myPreviewType = previewElements;
|
||||||
}
|
}
|
||||||
//!< Destructor
|
//!< Destructor
|
||||||
virtual ~TPreviewMesh() { delete _myMeshDS; }
|
virtual ~TPreviewMesh() { delete _myMeshDS; _myMeshDS = 0; }
|
||||||
//!< Copy a set of elements
|
//!< Copy a set of elements
|
||||||
void Copy(const TIDSortedElemSet & theElements,
|
void Copy(const TIDSortedElemSet & theElements,
|
||||||
TIDSortedElemSet& theCopyElements,
|
TIDSortedElemSet& theCopyElements,
|
||||||
|
Loading…
Reference in New Issue
Block a user