From 156df478fec05131317179a0147670b04f1e6493 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Tue, 29 Apr 2014 00:10:00 +0200 Subject: [PATCH] Remove redundant test. --- src/smpi/smpi_global.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/smpi/smpi_global.c b/src/smpi/smpi_global.c index b7880c89d4..d17f4bd9f6 100644 --- a/src/smpi/smpi_global.c +++ b/src/smpi/smpi_global.c @@ -480,9 +480,7 @@ void smpi_global_destroy(void) xbt_free(process_data); process_data = NULL; - if(index_to_process_data){ - xbt_free(index_to_process_data); - } + xbt_free(index_to_process_data); if(smpi_privatize_global_variables) smpi_destroy_global_memory_segments(); smpi_free_static(); -- 2.20.1