posix.c
3.75 KB
-
Fix memory leak in p_getaddrinfo on Amiga · 71d62d39
If gethostbyname() fails on platforms with NO_ADDRINFO, the code leaks the struct addrinfo that was allocated. This fixes that (and a number of code formatting issues in that area of code in src/posix.c).
Russell Belfer committed