Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
leak --
authorAugustin Degomme <degomme@idpann.imag.fr>
Mon, 28 Apr 2014 08:35:51 +0000 (10:35 +0200)
committerAugustin Degomme <degomme@idpann.imag.fr>
Mon, 28 Apr 2014 08:36:07 +0000 (10:36 +0200)
src/smpi/smpi_global.c

index 332b929..b7880c8 100644 (file)
@@ -479,6 +479,10 @@ void smpi_global_destroy(void)
   }
   xbt_free(process_data);
   process_data = NULL;
   }
   xbt_free(process_data);
   process_data = NULL;
+
+  if(index_to_process_data){
+      xbt_free(index_to_process_data);
+  }
   if(smpi_privatize_global_variables)
     smpi_destroy_global_memory_segments();
   smpi_free_static();
   if(smpi_privatize_global_variables)
     smpi_destroy_global_memory_segments();
   smpi_free_static();