Skip to content

Commit

Permalink
Merge pull request #1755 from kulikjak/fix-freeaddrinfo
Browse files Browse the repository at this point in the history
fix incorrect freeaddrinfo call
  • Loading branch information
bmah888 authored Sep 13, 2024
2 parents d5713db + 3da07ae commit 62f3fb2
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 62f3fb2

Please sign in to comment.