hostip: fix unintended destruction of hash table
.. and added unit1602 for hash.c
This commit is contained in:
committed by
Daniel Stenberg
parent
39b9bf60d1
commit
4883f7019d
@@ -188,7 +188,7 @@ curl_share_cleanup(CURLSH *sh)
|
||||
return CURLSHE_IN_USE;
|
||||
}
|
||||
|
||||
Curl_hash_clean(&share->hostcache);
|
||||
Curl_hash_destroy(&share->hostcache);
|
||||
|
||||
#if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_COOKIES)
|
||||
Curl_cookie_cleanup(share->cookies);
|
||||
|
||||
Reference in New Issue
Block a user