Mantis issue 0020768: Some Dump with RestoreSubShapes not loadable. Fix 1.

This commit is contained in:
jfa 2010-03-18 13:48:26 +00:00
parent 04e48a4907
commit c251f8fc85

View File

@ -792,7 +792,7 @@ GEOM::ListOfGO* GEOM_Gen_i::RestoreSubShapesO (SALOMEDS::Study_ptr theStudy,
aParts = RestoreSubShapes(theStudy, theObject, aSO, theArgs,
theFindMethod, theInheritFirstArg, theAddPrefix);
aSO->Destroy();
if (!CORBA::is_nil(aSO)) aSO->Destroy();
return aParts._retn();
}