aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-05-02 18:07:38 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-05-02 18:07:38 +0000
commit2de00283495677728941a820597f9fdc2e1d4e27 (patch)
tree73784df33bb919d305c29f68613d1aeb995d5ddf /lib
parent35d04c5398cb0a2cfb54e08f3038227e620c417c (diff)
make sure the dns cache pointers in the easy handles are NULLed
Diffstat (limited to 'lib')
-rw-r--r--lib/multi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/multi.c b/lib/multi.c
index a21fc5674..a1111ccd5 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -383,6 +383,9 @@ CURLMcode curl_multi_cleanup(CURLM *multi_handle)
easy = multi->easy.next;
while(easy) {
nexteasy=easy->next;
+ /* clear out the usage of the shared DNS cache */
+ easy->easy_handle->hostcache = NULL;
+
free(easy);
easy = nexteasy;
}