Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #313 from MathieuBordere/coverity-uv_tcp_listen
Browse files Browse the repository at this point in the history
uv_tcp_listen: Fix unreachable code path.
  • Loading branch information
Stéphane Graber committed Sep 21, 2022
2 parents 5b2d180 + 4eaf266 commit 2b5c68b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uv_tcp_listen.c
Expand Up @@ -314,7 +314,7 @@ static int uvTcpListenOnMultipleIP(struct raft_uv_transport *transport,
current = addr_infos;
t->listeners = raft_malloc(n_listeners * sizeof(*t->listeners));
if (!t->listeners) {
return RAFT_NOMEM;
rv = RAFT_NOMEM;
goto err;
}

Expand Down

0 comments on commit 2b5c68b

Please sign in to comment.