Skip to content

Commit

Permalink
free names array when force TL is not available
Browse files Browse the repository at this point in the history
  • Loading branch information
MamziB committed Jan 31, 2025
1 parent 07a4ddd commit 9927ba5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/cl/basic/cl_basic_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ ucc_status_t ucc_cl_basic_get_lib_attr(const ucc_base_lib_t *lib,
ucc_tl_iface_t);
if (!tl_iface) {
cl_warn(lib, "tl %s is not available", tls->array.names[i]);
if (cl_lib->super.tls.requested) {
ucc_config_names_array_free(&cl_lib->super.tls_forced);
}
continue;
}
if (UCC_OK != (status = check_tl_lib_attr(lib, tl_iface, attr))) {
Expand Down

0 comments on commit 9927ba5

Please sign in to comment.