From 749851ef42abca0a569ff59e8a8884fbac58f862 Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Sat, 4 Nov 2017 11:47:54 +0100 Subject: [PATCH] fix mismatched new[]/free --- src/smpi/internals/smpi_global.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/smpi/internals/smpi_global.cpp b/src/smpi/internals/smpi_global.cpp index 0a66fcfc54..6ea962541c 100644 --- a/src/smpi/internals/smpi_global.cpp +++ b/src/smpi/internals/smpi_global.cpp @@ -394,7 +394,7 @@ void smpi_global_destroy() xbt_os_timer_free(global_timer); } - xbt_free(index_to_process_data); + delete[] index_to_process_data; if(smpi_privatize_global_variables == SMPI_PRIVATIZE_MMAP) smpi_destroy_global_memory_segments(); smpi_free_static(); -- 2.20.1