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:
45e4b81
)
argh, forgot the check for a connection before we call Curl_done
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 23 Feb 2006 21:29:48 +0000
(21:29 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 23 Feb 2006 21:29:48 +0000
(21:29 +0000)
lib/multi.c
patch
|
blob
|
history
diff --git
a/lib/multi.c
b/lib/multi.c
index
6213fed
..
f914761
100644
(file)
--- a/
lib/multi.c
+++ b/
lib/multi.c
@@
-245,7
+245,10
@@
CURLMcode curl_multi_remove_handle(CURLM *multi_handle,
Curl_easy_addmulti(easy->easy_handle, NULL); /* clear the association
to this multi handle */
- Curl_done(&easy->easy_conn, easy->result);
+ /* if we have a connection we must call Curl_done() here so that we
+ don't leave a half-baked one around */
+ if(easy->easy_conn)
+ Curl_done(&easy->easy_conn, easy->result);
/* make the previous node point to our next */
if(easy->prev)