mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
Call freeaddrinfo() when done with the address info.
This commit is contained in:
parent
e89fb3a868
commit
e7462d025f
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue