mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 08:50:35 +05:00
To avoid memory leaks
This commit is contained in:
parent
2c26db46be
commit
bcbdd40a30
@ -356,6 +356,8 @@ SMESH_ActorDef::SMESH_ActorDef()
|
||||
myHighlitableActor->PickableOff();
|
||||
myHighlitableActor->SetRepresentation(SMESH_DeviceActor::eWireframe);
|
||||
|
||||
aMatrix->Delete();
|
||||
|
||||
myName = "";
|
||||
myIO = NULL;
|
||||
|
||||
|
@ -186,6 +186,7 @@ namespace SMESH
|
||||
QObject::tr("INF_PARSE_ERROR"),
|
||||
QObject::tr(aXmlHandler->errorProtocol().toLatin1().data()));
|
||||
}
|
||||
delete aXmlHandler;
|
||||
}
|
||||
else {
|
||||
if (aNoAccessFiles.isEmpty())
|
||||
|
Loading…
Reference in New Issue
Block a user