resolve: don't leak pre-populated dns entries
authorDaniel Stenberg <daniel@haxx.se>
Fri, 23 Dec 2011 13:30:43 +0000 (14:30 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 23 Dec 2011 13:46:20 +0000 (14:46 +0100)
commit2caa454dc19237588ee3696fac2d74fb86eb0d98
treeb1e56cc99e09a8edb671400d930a63050e280d4c
parent3e4181f88ef170ed902db035797d02cea1bcc2ec
resolve: don't leak pre-populated dns entries

CURLOPT_RESOLVE populates the DNS cache with entries that are marked as
eternally in use. Those entries need to be taken care of when the cache
is killed off.

Bug: http://curl.haxx.se/bug/view.cgi?id=3463121
Reported by: "tw84452852"
lib/hostip.c
lib/hostip.h
lib/url.c