Skip to content

Commit

Permalink
TL/MLX5: fix socket cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei-Lebedev committed Feb 22, 2024
1 parent 53350c7 commit ae61eae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/tl/mlx5/tl_mlx5_context.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ UCC_CLASS_CLEANUP_FUNC(ucc_tl_mlx5_context_t)
tl_debug(self->super.super.lib, "failed to free ib ctx and pd");
};

if (!self->sock) {
if (self->sock) {
close(self->sock);
}

Expand Down

0 comments on commit ae61eae

Please sign in to comment.