]> AND Public Git Repository - simgrid.git/blobdiff - src/smpi/smpi_global.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix a bunch of typos reported by lintian
[simgrid.git] / src / smpi / smpi_global.cpp
index 9a8f5d2d1d0bde2cbd225b878c8ebbe7fdcc4216..1da63088db9762d9ed9ba10e75af9c5480b10bd6 100644 (file)
@@ -476,6 +476,10 @@ void smpi_global_destroy(void)
 
   MPI_COMM_WORLD = MPI_COMM_NULL;
 
+  if (!MC_is_active()) {
+    xbt_os_timer_free(global_timer);
+  }
+
   xbt_free(index_to_process_data);
   if(smpi_privatize_global_variables)
     smpi_destroy_global_memory_segments();