aboutsummaryrefslogtreecommitdiff
path: root/lib/hostip.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hostip.c')
-rw-r--r--lib/hostip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/hostip.c b/lib/hostip.c
index 791ee030c..9d0013ffe 100644
--- a/lib/hostip.c
+++ b/lib/hostip.c
@@ -89,6 +89,7 @@ void Curl_global_host_cache_dtor(void)
{
if (host_cache_initialized) {
curl_hash_clean(&hostname_cache);
+ host_cache_initialized = 0;
}
}