mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 09:20:34 +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->PickableOff();
|
||||||
myHighlitableActor->SetRepresentation(SMESH_DeviceActor::eWireframe);
|
myHighlitableActor->SetRepresentation(SMESH_DeviceActor::eWireframe);
|
||||||
|
|
||||||
|
aMatrix->Delete();
|
||||||
|
|
||||||
myName = "";
|
myName = "";
|
||||||
myIO = NULL;
|
myIO = NULL;
|
||||||
|
|
||||||
|
@ -186,6 +186,7 @@ namespace SMESH
|
|||||||
QObject::tr("INF_PARSE_ERROR"),
|
QObject::tr("INF_PARSE_ERROR"),
|
||||||
QObject::tr(aXmlHandler->errorProtocol().toLatin1().data()));
|
QObject::tr(aXmlHandler->errorProtocol().toLatin1().data()));
|
||||||
}
|
}
|
||||||
|
delete aXmlHandler;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (aNoAccessFiles.isEmpty())
|
if (aNoAccessFiles.isEmpty())
|
||||||
|
Loading…
Reference in New Issue
Block a user