1
1

topo/base: correctly free the topo object in mca_topo_base_dist_graph_create_adjacent

Этот коммит содержится в:
Gilles Gouaillardet 2015-11-30 15:33:59 +09:00
родитель 8227bc6320
Коммит 80f02518ff

Просмотреть файл

@ -101,7 +101,7 @@ int mca_topo_base_dist_graph_create_adjacent(mca_topo_base_module_t* module,
if( MPI_UNWEIGHTED != destweights ) {
if( NULL != topo->outw ) free(topo->outw);
}
free(topo);
OBJ_RELEASE(topo);
}
ompi_comm_free(newcomm);
return err;