Skip to content

Commit 189fe98

Browse files
MaayanGadishNvidiajanjust
authored andcommitted
.
1 parent fed3d54 commit 189fe98

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/core/ucc_context.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,8 @@ ucc_status_t ucc_core_ctx_id_exchange(ucc_context_t *context, ucc_oob_coll_t *oo
658658
if (UCC_CTX_ID_EQUAL(context->id, ctx_ids[i])) {
659659
if (r != UCC_RANK_MAX) {
660660
ucc_error("ctx_id collision: %d %d", r, i);
661+
ucc_free(addr_storage->storage);
662+
addr_storage->storage = NULL;
661663
return UCC_ERR_NO_MESSAGE;
662664
}
663665
r = i;

0 commit comments

Comments
 (0)