From 0375941382e87959d3a98852af220a0b4d45bc9c Mon Sep 17 00:00:00 2001 From: asv Date: Wed, 26 Jul 2006 07:57:33 +0000 Subject: [PATCH] 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. --- src/GEOMGUI/GeometryGUI.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2