mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-12 00:29:17 +05:00
22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
Fix a leak of a CORBA object
This commit is contained in:
parent
7608df4ad1
commit
d0b4e3c141
@ -2235,7 +2235,7 @@ void SMESHGUI_AddInfo::meshInfo( SMESH::SMESH_Mesh_ptr mesh, QTreeWidgetItem* pa
|
|||||||
{
|
{
|
||||||
// type
|
// type
|
||||||
GEOM::GEOM_Object_var shape = mesh->GetShapeToMesh();
|
GEOM::GEOM_Object_var shape = mesh->GetShapeToMesh();
|
||||||
SMESH::MedFileInfo* inf = mesh->GetMEDFileInfo();
|
SMESH::MedFileInfo_var inf = mesh->GetMEDFileInfo();
|
||||||
QTreeWidgetItem* typeItem = createItem( parent, Bold );
|
QTreeWidgetItem* typeItem = createItem( parent, Bold );
|
||||||
typeItem->setText( 0, tr( "TYPE" ) );
|
typeItem->setText( 0, tr( "TYPE" ) );
|
||||||
if ( !CORBA::is_nil( shape ) ) {
|
if ( !CORBA::is_nil( shape ) ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user