PAL7402. Avoid decrement of pd_refCount of subMesh at exit from GetSubMesh()

This commit is contained in:
eap 2005-01-13 14:29:42 +00:00
parent 8e95b9611a
commit d826413297

View File

@ -509,7 +509,7 @@ SMESH::SMESH_subMesh_ptr SMESH_Mesh_i::GetSubMesh(GEOM::GEOM_Object_ptr aSubShap
catch(SALOME_Exception & S_ex) {
THROW_SALOME_CORBA_EXCEPTION(S_ex.what(), SALOME::BAD_PARAM);
}
return subMesh;
return subMesh._retn();
}
//=============================================================================