mirror of
https://github.com/curl/curl.git
synced 2026-06-02 00:04:15 +03:00
argh, forgot the check for a connection before we call Curl_done
This commit is contained in:
parent
45e4b811b0
commit
4486d336a6
1 changed files with 4 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue