From: Daniel Stenberg Date: Thu, 2 May 2002 18:07:38 +0000 (+0000) Subject: make sure the dns cache pointers in the easy handles are NULLed X-Git-Tag: upstream/7.37.1~15501 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2de00283495677728941a820597f9fdc2e1d4e27;p=platform%2Fupstream%2Fcurl.git make sure the dns cache pointers in the easy handles are NULLed --- 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; }