From: asv Date: Wed, 26 Jul 2006 07:57:33 +0000 (+0000) Subject: In method engineIOR() the CORBA_var object was freed as a normal C++ pointer - it... X-Git-Tag: LAST_STABLE_VERSION_21_09_2006_ON_3_2_0~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0375941382e87959d3a98852af220a0b4d45bc9c;p=modules%2Fgeom.git In method engineIOR() the CORBA_var object was freed as a normal C++ pointer - it raised exceptions and blocked GEOM module. This line is commented out, it fixes many bugs. --- diff --git a/src/GEOMGUI/GeometryGUI.cxx b/src/GEOMGUI/GeometryGUI.cxx index 0dca4ab32..bbaf4214d 100644 --- a/src/GEOMGUI/GeometryGUI.cxx +++ b/src/GEOMGUI/GeometryGUI.cxx @@ -1615,7 +1615,7 @@ QString GeometryGUI::engineIOR() const { CORBA::String_var objStr = getApp()->orb()->object_to_string( GetGeomGen() ); anIOR = QString( objStr.in() ); - free( objStr ); +// free( objStr ); ASV : 26.07.06 : commented out because it raises exception and blocks application } return anIOR; }