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/conncache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/conncache.c') diff --git a/lib/conncache.c b/lib/conncache.c index 634b673e3..5c3957519 100644 --- a/lib/conncache.c +++ b/lib/conncache.c @@ -126,7 +126,7 @@ int Curl_conncache_init(struct conncache *connc, int size) void Curl_conncache_destroy(struct conncache *connc) { if(connc) - Curl_hash_clean(&connc->hash); + Curl_hash_destroy(&connc->hash); } /* returns an allocated key to find a bundle for this connection */ -- cgit v1.2.3