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/hostip.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/hostip.c')
-rw-r--r-- | lib/hostip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostip.c b/lib/hostip.c index 338cf2de6..82f3897f9 100644 --- a/lib/hostip.c +++ b/lib/hostip.c @@ -137,7 +137,7 @@ struct curl_hash *Curl_global_host_cache_init(void) void Curl_global_host_cache_dtor(void) { if(host_cache_initialized) { - Curl_hash_clean(&hostname_cache); + Curl_hash_destroy(&hostname_cache); host_cache_initialized = 0; } } |