Fix memory leak.

Obtained from:	KAME
This commit is contained in:
Munechika SUMIKAWA 2000-10-29 16:10:48 +00:00
parent cf9fa8e725
commit 725f35a7e5

View File

@ -339,6 +339,8 @@ res_init()
}
nserv++;
}
if (res)
freeaddrinfo(res);
continue;
}
#ifdef RESOLVSORT