mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-01 04:10:33 +05:00
21948: EDF SMESH : Memory is not freed when deleting a mesh
minor changes
This commit is contained in:
parent
d3fb998efd
commit
0d9cd77ceb
@ -42,13 +42,13 @@ SMESH_Hypothesis::SMESH_Hypothesis(int hypId,
|
|||||||
int studyId,
|
int studyId,
|
||||||
SMESH_Gen* gen) : SMESHDS_Hypothesis(hypId)
|
SMESH_Gen* gen) : SMESHDS_Hypothesis(hypId)
|
||||||
{
|
{
|
||||||
_gen = gen;
|
_gen = gen;
|
||||||
_studyId = studyId;
|
_studyId = studyId;
|
||||||
StudyContextStruct* myStudyContext = _gen->GetStudyContext(_studyId);
|
_type = PARAM_ALGO;
|
||||||
myStudyContext->mapHypothesis[_hypId] = this;
|
_shapeType = 0; // to be set by algo with TopAbs_Enum
|
||||||
_type = PARAM_ALGO;
|
|
||||||
_shapeType = 0; // to be set by algo with TopAbs_Enum
|
|
||||||
_param_algo_dim = -1; // to be set by algo parameter
|
_param_algo_dim = -1; // to be set by algo parameter
|
||||||
|
StudyContextStruct* myStudyContext = gen->GetStudyContext(_studyId);
|
||||||
|
myStudyContext->mapHypothesis[hypId] = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
|
Loading…
Reference in New Issue
Block a user