aboutsummaryrefslogtreecommitdiff
path: root/lib/multi.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/multi.c
parent80d0dcc9a3124dcecc9d1f7296f2ac429bc7d704 (diff)
attempt to fix or allow further detection of an elusive icc SIGSEGV
Diffstat (limited to 'lib/multi.c')
-rw-r--r--lib/multi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/multi.c b/lib/multi.c
index 63db12a21..e503a11a2 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -1551,6 +1551,8 @@ CURLMcode curl_multi_cleanup(CURLM *multi_handle)
multi->type = 0; /* not good anymore */
Curl_hash_destroy(multi->hostcache);
Curl_hash_destroy(multi->sockhash);
+ multi->hostcache = NULL;
+ multi->sockhash = NULL;
/* go over all connections that have close actions */
for(i=0; i< multi->connc->num; i++) {