Skip to content

Commit

Permalink
Merge pull request #4536 from yosefe/topic/mm-posix-fix-error-flow-fo…
Browse files Browse the repository at this point in the history
…r-uct

MM/POSIX: Fix error flow for uct_posix_test_mem()
  • Loading branch information
yosefe authored Dec 4, 2019
2 parents 7d8f937 + a01899a commit 99c7a73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uct/sm/mm/posix/mm_posix.c
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ uct_posix_mem_alloc(uct_md_h tl_md, size_t *length_p, void **address_p,

err_close:
close(fd);
if (!posix_config->use_proc_link) {
if (!(seg->seg_id & UCT_POSIX_SEG_FLAG_PROCFS)) {
uct_posix_unlink(md, seg->seg_id);
}
err_free_seg:
Expand Down

0 comments on commit 99c7a73

Please sign in to comment.