Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/alex47exe/gse_fork into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
alex47exe committed Oct 19, 2024
2 parents 169d29e + c34229b commit ac2af0e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dll/network.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ static void get_broadcast_info(uint16 port)
number_broadcasts++;

if (number_broadcasts >= MAX_BROADCASTS) {
return;
break;
}
}

Expand Down Expand Up @@ -542,6 +542,8 @@ std::set<IP_PORT> Networking::resolve_ip(std::string dns)
}
}

if (result)
freeaddrinfo(result);
return ips;
}

Expand Down

0 comments on commit ac2af0e

Please sign in to comment.