aboutsummaryrefslogtreecommitdiff
path: root/lib/share.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-10-19 20:17:16 +0000
committerYang Tse <yangsita@gmail.com>2008-10-19 20:17:16 +0000
commit5779283a52a1369cccbe1a1d314e2ec8ac949e0f (patch)
treea3abefd48a641c96e3686bf05c9615adfc80f39e /lib/share.c
parent80d0dcc9a3124dcecc9d1f7296f2ac429bc7d704 (diff)
attempt to fix or allow further detection of an elusive icc SIGSEGV
Diffstat (limited to 'lib/share.c')
-rw-r--r--lib/share.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/share.c b/lib/share.c
index 6430611b3..838a15916 100644
--- a/lib/share.c
+++ b/lib/share.c
@@ -168,8 +168,10 @@ curl_share_cleanup(CURLSH *sh)
return CURLSHE_IN_USE;
}
- if(share->hostcache)
+ if(share->hostcache) {
Curl_hash_destroy(share->hostcache);
+ share->hostcache = NULL;
+ }
#if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_COOKIES)
if(share->cookies)