From 4883f7019d3f8a50b2f94e8e6c2e6123840e5a14 Mon Sep 17 00:00:00 2001 From: Anthony Avina Date: Sat, 2 May 2015 13:49:55 -0500 Subject: hostip: fix unintended destruction of hash table .. and added unit1602 for hash.c --- lib/hostip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/hostip.c') 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; } } -- cgit v1.2.3