740
734
return 1; /* free all entries */
745
739
/* Entries added to the hostcache with the CURLOPT_RESOLVE function are
746
740
* still present in the cache with the inuse counter set to 1. Detect them
749
743
Curl_hash_clean_with_criterium(data->dns.hostcache, data, hostcache_inuse);
751
749
Curl_hash_destroy(data->dns.hostcache);
752
750
data->dns.hostcachetype = HCACHE_NONE;
753
751
data->dns.hostcache = NULL;