]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
bos #29611 cartesian_algo test is KO with valgrind
authoreap <eap@opencascade.com>
Fri, 15 Apr 2022 11:46:02 +0000 (14:46 +0300)
committereap <eap@opencascade.com>
Fri, 15 Apr 2022 11:46:02 +0000 (14:46 +0300)
src/StdMeshers/StdMeshers_Cartesian_3D.cxx

index a9026b882a3c4aed0297d39ecf6c6e29d8b7df0e..50bd98c372ec9aa21d0fe4d7b24d0e318f15fe3a 100644 (file)
@@ -2847,7 +2847,7 @@ namespace
       solid = _grid->GetSolid();
       if ( !_grid->_geometry.IsOneSolid() )
       {
-        TGeomID solidIDs[20];
+        TGeomID solidIDs[20] = { 0 };
         size_t nbSolids = getSolids( solidIDs );
         if ( nbSolids > 1 )
         {