Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions ompi/mca/topo/base/topo_base_cart_create.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,12 +172,6 @@ int mca_topo_base_cart_create(mca_topo_base_module_t *topo,
if (OMPI_SUCCESS != ret) {
/* something wrong happened during setting the communicator */
free(topo_procs);
OBJ_RELEASE(cart);
if (MPI_COMM_NULL != new_comm) {
new_comm->c_topo = NULL;
new_comm->c_flags &= ~OMPI_COMM_CART;
ompi_comm_free (&new_comm);
}
return ret;
}

Expand Down
19 changes: 0 additions & 19 deletions ompi/mca/topo/base/topo_base_dist_graph_create.c
Original file line number Diff line number Diff line change
Expand Up @@ -335,25 +335,6 @@ int mca_topo_base_dist_graph_create(mca_topo_base_module_t* module,
ret = ompi_comm_enable(comm_old, new_comm,
rank, num_procs, topo_procs);
if (OMPI_SUCCESS != ret) {
if ( NULL != topo->in ) {
free(topo->in);
}
if ( NULL != topo->out ) {
free(topo->out);
}
if ( NULL != topo->inw ) {
free(topo->inw);
}
if ( NULL != topo->outw ) {
free(topo->outw);
}
if (MPI_COMM_NULL != new_comm) {
new_comm->c_topo->mtc.dist_graph = NULL;
new_comm->c_topo = NULL;
new_comm->c_flags &= ~OMPI_COMM_DIST_GRAPH;
ompi_comm_free (&new_comm);
}
free(topo);
free(topo_procs);
return ret;
}
Expand Down
6 changes: 0 additions & 6 deletions ompi/mca/topo/base/topo_base_graph_create.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,6 @@ int mca_topo_base_graph_create(mca_topo_base_module_t *topo,
new_rank, num_procs, topo_procs);
if (OMPI_SUCCESS != ret) {
free(topo_procs);
OBJ_RELEASE(graph);
if (MPI_COMM_NULL != new_comm) {
new_comm->c_topo = NULL;
new_comm->c_flags &= ~OMPI_COMM_GRAPH;
ompi_comm_free (&new_comm);
}
return ret;
}

Expand Down