Probably not necessary, but good practice.
authorSterling Hughes <sterling@bumblebury.com>
Mon, 7 Jan 2002 20:55:35 +0000 (20:55 +0000)
committerSterling Hughes <sterling@bumblebury.com>
Mon, 7 Jan 2002 20:55:35 +0000 (20:55 +0000)
lib/hostip.c

index 791ee03..9d0013f 100644 (file)
@@ -89,6 +89,7 @@ void Curl_global_host_cache_dtor(void)
 {
   if (host_cache_initialized) {
     curl_hash_clean(&hostname_cache);
+    host_cache_initialized = 0;
   }
 }