projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b79f01c
)
Gustaf Hui fixed curl_multi_remove_handle() to prevent a potential crash
author
Daniel Stenberg
<daniel@haxx.se>
Wed, 5 Jun 2002 21:29:20 +0000
(21:29 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Wed, 5 Jun 2002 21:29:20 +0000
(21:29 +0000)
lib/multi.c
patch
|
blob
|
history
diff --git
a/lib/multi.c
b/lib/multi.c
index
3fcfb8b
..
d6ede82
100644
(file)
--- a/
lib/multi.c
+++ b/
lib/multi.c
@@
-179,6
+179,9
@@
CURLMcode curl_multi_remove_handle(CURLM *multi_handle,
/* If the 'state' is not INIT or COMPLETED, we might need to do something
nice to put the easy_handle in a good known state when this returns. */
+ /* clear out the usage of the shared DNS cache */
+ easy->easy_handle->hostcache = NULL;
+
/* make the previous node point to our next */
if(easy->prev)
easy->prev->next = easy->next;