Skip to content

Commit

Permalink
TOPO: fix all numas sbgp cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei-Lebedev committed Mar 13, 2024
1 parent f01fd27 commit abded69
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/topo/ucc_topo.c
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,14 @@ void ucc_topo_cleanup(ucc_topo_t *topo)
}
ucc_free(topo->all_sockets);
}
if (topo->all_numas) {
for (i = 0; i < topo->n_numas; i++) {
if (topo->all_numas[i].status == UCC_SBGP_ENABLED) {
ucc_sbgp_cleanup(&topo->all_numas[i]);
}
}
ucc_free(topo->all_numas);
}
ucc_free(topo);
}
}
Expand Down

0 comments on commit abded69

Please sign in to comment.