]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
In method engineIOR() the CORBA_var object was freed as a normal C++ pointer - it...
authorasv <asv@opencascade.com>
Wed, 26 Jul 2006 07:57:33 +0000 (07:57 +0000)
committerasv <asv@opencascade.com>
Wed, 26 Jul 2006 07:57:33 +0000 (07:57 +0000)
src/GEOMGUI/GeometryGUI.cxx

index 0dca4ab32bd1898e072f36d5f1d8133e407151ae..bbaf4214d5e0356189c472af193fcebadc390925 100644 (file)
@@ -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;
 }