One more fix

This commit is contained in:
universal963 2024-10-15 23:45:32 +08:00 committed by GitHub
parent 4823a2be70
commit ff5ef4f721
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -542,6 +542,8 @@ std::set<IP_PORT> Networking::resolve_ip(std::string dns)
} }
} }
if (result)
freeaddrinfo(result);
return ips; return ips;
} }