summaryrefslogtreecommitdiff
path: root/lib/conncache.c
diff options
context:
space:
mode:
authorAnthony Avina <aavina2@gmail.com>2015-05-02 13:49:55 -0500
committerDaniel Stenberg <daniel@haxx.se>2015-05-18 11:15:43 +0200
commit4883f7019d3f8a50b2f94e8e6c2e6123840e5a14 (patch)
tree89255e69e5d052255d215a8da7718113a723944b /lib/conncache.c
parent39b9bf60d13ff7cb62a6a031c210d27a32113c4f (diff)
downloadcurl-4883f7019d3f8a50b2f94e8e6c2e6123840e5a14.tar.gz
hostip: fix unintended destruction of hash table
.. and added unit1602 for hash.c
Diffstat (limited to 'lib/conncache.c')
-rw-r--r--lib/conncache.c2
1 files changed, 1 insertions, 1 deletions
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 */