Skip to content

Commit

Permalink
Prevent hierarchical partitioning from doubly freeing communicators
Browse files Browse the repository at this point in the history
  • Loading branch information
lkotipal committed Feb 9, 2024
1 parent b0ceb69 commit f5ba916
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/zoltan/src/hier/hier.c
Original file line number Diff line number Diff line change
Expand Up @@ -1746,6 +1746,7 @@ int Zoltan_Hier(
ZOLTAN_FREE(&hpp.adjproc);
ZOLTAN_FREE(&hpp.geom_vec);
MPI_Comm_free(&hpp.hier_comm);
hpp.hier_comm = MPI_COMM_NULL;
}

ierr = Zoltan_LB_Free_Part(&hier_import_gids, &hier_import_lids,
Expand Down

0 comments on commit f5ba916

Please sign in to comment.