diff options
author | Anthony Avina <aavina2@gmail.com> | 2015-05-02 13:49:55 -0500 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-05-18 11:15:43 +0200 |
commit | 4883f7019d3f8a50b2f94e8e6c2e6123840e5a14 (patch) | |
tree | 89255e69e5d052255d215a8da7718113a723944b /lib/share.c | |
parent | 39b9bf60d13ff7cb62a6a031c210d27a32113c4f (diff) | |
download | curl-4883f7019d3f8a50b2f94e8e6c2e6123840e5a14.tar.gz |
hostip: fix unintended destruction of hash table
.. and added unit1602 for hash.c
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 b61a86bc2..7fb068625 100644 --- a/lib/share.c +++ b/lib/share.c @@ -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); |