Fix memory leak.
Obtained from: KAME
This commit is contained in:
parent
cf9fa8e725
commit
725f35a7e5
@ -339,6 +339,8 @@ res_init()
|
||||
}
|
||||
nserv++;
|
||||
}
|
||||
if (res)
|
||||
freeaddrinfo(res);
|
||||
continue;
|
||||
}
|
||||
#ifdef RESOLVSORT
|
||||
|
Loading…
Reference in New Issue
Block a user