Skip to content

Commit

Permalink
remove incorrect freeaddrinfo call
Browse files Browse the repository at this point in the history
  • Loading branch information
kulikjak committed Aug 28, 2024
1 parent 5bf93d6 commit 3da07ae
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ create_socket(int domain, int proto, const char *local, const char *bind_dev, in
if ((gerror = getaddrinfo(server, portstr, &hints, &server_res)) != 0) {
if (local)
freeaddrinfo(local_res);
freeaddrinfo(server_res);
return -1;
}

Expand Down

0 comments on commit 3da07ae

Please sign in to comment.