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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67894

View File

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