mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-27 21:44:34 +01:00
Fix memory leak.
Obtained from: KAME
This commit is contained in:
parent
cf9fa8e725
commit
725f35a7e5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67894
@ -339,6 +339,8 @@ res_init()
|
||||
}
|
||||
nserv++;
|
||||
}
|
||||
if (res)
|
||||
freeaddrinfo(res);
|
||||
continue;
|
||||
}
|
||||
#ifdef RESOLVSORT
|
||||
|
Loading…
Reference in New Issue
Block a user