mirror of
https://github.com/openbsd/src.git
synced 2025-01-10 06:47:55 -08:00
d874525269
choose_server() calls getaddrinfo(3) but never frees the result. Minimal fix that relies on getaddrinfo(3) only updating the "res" pointer if the call was successful. While here, call freeaddrinfo(3) earlier in whois(), less code and less overall memory used since whois() can recurse. ok millert@ tb@ benno@ |
||
---|---|---|
.. | ||
Makefile | ||
whois.1 | ||
whois.c |