File tree Expand file tree Collapse file tree 4 files changed +4
-0
lines changed
Expand file tree Collapse file tree 4 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -454,6 +454,7 @@ void comex_group_finalize()
454454 _igroup_free (previous_group_list_item );
455455 }
456456
457+ group_list = NULL ;
457458 free (g_state .hostid );
458459 status = MPI_Comm_free (& (g_state .node_comm ));
459460 COMEX_ASSERT (MPI_SUCCESS == status );
Original file line number Diff line number Diff line change @@ -625,6 +625,7 @@ void comex_group_finalize()
625625 _igroup_free (previous_group_list_item );
626626 }
627627
628+ group_list = NULL ;
628629 free (g_state .master );
629630 free (g_state .host );
630631 status = MPI_Comm_free (& (g_state .node_comm ));
Original file line number Diff line number Diff line change @@ -489,6 +489,7 @@ void comex_group_finalize()
489489 _igroup_free (previous_group_list_item );
490490 }
491491
492+ group_list = NULL ;
492493 free (g_state .master );
493494 free (g_state .hostid );
494495 status = MPI_Comm_free (& (g_state .node_comm ));
Original file line number Diff line number Diff line change @@ -335,4 +335,5 @@ void comex_group_finalize()
335335 comex_igroup_finalize (previous_group_list_item );
336336 free (previous_group_list_item );
337337 }
338+ group_list = NULL ;
338339}
You can’t perform that action at this time.
0 commit comments