From 42ce2b398fd4bb3158f4cae676cf8c135415f119 Mon Sep 17 00:00:00 2001 From: Mamzi Bayatpour Date: Mon, 23 Dec 2024 13:34:27 -0800 Subject: [PATCH] fix linter --- src/components/tl/mlx5/mcast/tl_mlx5_mcast_team.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/components/tl/mlx5/mcast/tl_mlx5_mcast_team.c b/src/components/tl/mlx5/mcast/tl_mlx5_mcast_team.c index 9b74cbe994..23948c92e4 100644 --- a/src/components/tl/mlx5/mcast/tl_mlx5_mcast_team.c +++ b/src/components/tl/mlx5/mcast/tl_mlx5_mcast_team.c @@ -183,15 +183,12 @@ ucc_status_t ucc_tl_mlx5_mcast_team_init(ucc_base_context_t *base_context, return UCC_OK; cleanup: - ucc_free(comm); - ucc_free(new_mcast_team); - ucc_free(oob_p2p_ctx); ucc_free(comm->mcast_addr_list); ucc_free(comm->lid_list); ucc_free(comm->mgid_list); - comm->mcast_addr_list = NULL; - comm->lid_list = NULL; - comm->mgid_list = NULL; + ucc_free(comm); + ucc_free(new_mcast_team); + ucc_free(oob_p2p_ctx); return status; }