diff options
Diffstat (limited to 'lib/share.c')
-rw-r--r-- | lib/share.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/share.c b/lib/share.c index ff1aef2e5..e554339de 100644 --- a/lib/share.c +++ b/lib/share.c @@ -73,7 +73,7 @@ curl_share_setopt(CURLSH *sh, CURLSHoption option, ...) { case CURL_LOCK_DATA_DNS: if (!share->hostcache) { - share->hostcache = Curl_hash_alloc(7, Curl_freednsinfo); + share->hostcache = Curl_mk_dnscache(); } break; |