diff options
author | Yang Tse <yangsita@gmail.com> | 2008-10-19 20:17:16 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-10-19 20:17:16 +0000 |
commit | 5779283a52a1369cccbe1a1d314e2ec8ac949e0f (patch) | |
tree | a3abefd48a641c96e3686bf05c9615adfc80f39e /lib/url.c | |
parent | 80d0dcc9a3124dcecc9d1f7296f2ac429bc7d704 (diff) |
attempt to fix or allow further detection of an elusive icc SIGSEGV
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -450,8 +450,11 @@ CURLcode Curl_close(struct SessionHandle *data) return CURLE_OK; } - if(data->dns.hostcachetype == HCACHE_PRIVATE) + if(data->dns.hostcachetype == HCACHE_PRIVATE) { Curl_hash_destroy(data->dns.hostcache); + data->dns.hostcachetype = HCACHE_NONE; + data->dns.hostcache = NULL; + } if(data->state.rangestringalloc) free(data->state.range); |