Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7608df4
)
22261: EDF 2698 SMESH: Memory leak when displaying 2D quadratic elements as arcs
author
eap
<eap@opencascade.com>
Tue, 23 Jul 2013 14:20:46 +0000
(14:20 +0000)
committer
eap
<eap@opencascade.com>
Tue, 23 Jul 2013 14:20:46 +0000
(14:20 +0000)
Fix a leak of a CORBA object
src/SMESHGUI/SMESHGUI_MeshInfo.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI_MeshInfo.cxx
b/src/SMESHGUI/SMESHGUI_MeshInfo.cxx
index 647a6092df74105b347b87f67acdf864b1c8797f..9a701b8ec8f8c87088c371031ab3c2c2688ccda7 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_MeshInfo.cxx
+++ b/
src/SMESHGUI/SMESHGUI_MeshInfo.cxx
@@
-2235,7
+2235,7
@@
void SMESHGUI_AddInfo::meshInfo( SMESH::SMESH_Mesh_ptr mesh, QTreeWidgetItem* pa
{
// type
GEOM::GEOM_Object_var shape = mesh->GetShapeToMesh();
- SMESH::MedFileInfo
*
inf = mesh->GetMEDFileInfo();
+ SMESH::MedFileInfo
_var
inf = mesh->GetMEDFileInfo();
QTreeWidgetItem* typeItem = createItem( parent, Bold );
typeItem->setText( 0, tr( "TYPE" ) );
if ( !CORBA::is_nil( shape ) ) {