mirror of
https://github.com/curl/curl.git
synced 2026-08-26 05:23:33 +03:00
hostip: fix unintended destruction of hash table
.. and added unit1602 for hash.c
This commit is contained in:
parent
39b9bf60d1
commit
4883f7019d
11 changed files with 136 additions and 12 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue