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/share.c | |
parent | 80d0dcc9a3124dcecc9d1f7296f2ac429bc7d704 (diff) | |
download | curl-5779283a52a1369cccbe1a1d314e2ec8ac949e0f.tar.gz |
attempt to fix or allow further detection of an elusive icc SIGSEGV
Diffstat (limited to 'lib/share.c')
-rw-r--r-- | lib/share.c | 4 |
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) |