Call freeaddrinfo() when done with the address info.

This commit is contained in:
Jeff Teunissen 2010-12-30 04:34:15 -05:00
parent e89fb3a868
commit e7462d025f

View file

@ -329,6 +329,7 @@ NET_StringToAdr (const char *s, netadr_t *a)
"supported\n", s, resultp->ai_family);
return 0;
}
freeaddrinfo (resultp);
SockadrToNetadr (&addr, a);