X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FDriverMED%2FDriverMED_R_SMESHDS_Mesh.cxx;h=6952acfd7908478714ed51417381ea1a2194066f;hb=10291d5e0d4462d6945e29b8c8f2ee3f88f45880;hp=49c645f47a23a09f89e2cce8f55c93330cc4f70b;hpb=843df0f0f353dbab71be29f7f697918958528d88;p=modules%2Fsmesh.git diff --git a/src/DriverMED/DriverMED_R_SMESHDS_Mesh.cxx b/src/DriverMED/DriverMED_R_SMESHDS_Mesh.cxx index 49c645f47..6952acfd7 100644 --- a/src/DriverMED/DriverMED_R_SMESHDS_Mesh.cxx +++ b/src/DriverMED/DriverMED_R_SMESHDS_Mesh.cxx @@ -124,6 +124,8 @@ DriverMED_R_SMESHDS_Mesh // Reading MED nodes to the corresponding SMDS structure //------------------------------------------------------ PNodeInfo aNodeInfo = aMed->GetPNodeInfo(aMeshInfo); + if ( !aNodeInfo ) + return DRS_FAIL; PCoordHelper aCoordHelper = GetCoordHelper(aNodeInfo);