diff --git a/libs/net/nc/net_udp6.c b/libs/net/nc/net_udp6.c index f91b3551c..6e6f5c88f 100644 --- a/libs/net/nc/net_udp6.c +++ b/libs/net/nc/net_udp6.c @@ -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);