aboutsummaryrefslogtreecommitdiff
path: root/lib/easy.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-10-04 10:36:51 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-10-04 10:36:51 +0000
commit95def48071e54c769ee063ddf53f05c9595602d2 (patch)
tree92fb9afab75a2ebad3a2c8f19096ccad2da851ea /lib/easy.c
parent2ee6c334126b257708ac92b19c57701e18bb31cc (diff)
Made the dns entry remain locked while a connection to the host remains to
allow verbose output during this period. Bertrand Demiddelaer reported and helped fixing.
Diffstat (limited to 'lib/easy.c')
-rw-r--r--lib/easy.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/easy.c b/lib/easy.c
index 4782fc459..228d2aef0 100644
--- a/lib/easy.c
+++ b/lib/easy.c
@@ -391,11 +391,6 @@ void curl_easy_cleanup(CURL *curl)
if(!data)
return;
- if ( ! (data->share && data->share->hostcache) ) {
- if ( !Curl_global_host_cache_use(data)) {
- Curl_hash_destroy(data->hostcache);
- }
- }
Curl_close(data);
}