Skip to content

Commit

Permalink
src: Add Wasi's recommended fix
Browse files Browse the repository at this point in the history
  • Loading branch information
philip.marshall committed Apr 15, 2024
1 parent e0f0e30 commit 5b829e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transport_ofi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1562,7 +1562,7 @@ int query_for_fabric(struct fabric_info *info)
multirail_fabric_list_tail = cur_fabric;
}
}
multirail_fabric_list_tail->next = NULL;
if (multirail_fabric_list_tail) multirail_fabric_list_tail->next = NULL;

if (num_nics == 0) {
info->p_info = fallback;
Expand Down

0 comments on commit 5b829e8

Please sign in to comment.