aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 93a56002d..7ba262ae2 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -5145,7 +5145,7 @@ CURLcode Curl_async_resolved(struct connectdata *conn,
if(code)
/* We're not allowed to return failure with memory left allocated
in the connectdata struct, free those here */
- Curl_disconnect(conn); /* close the connection */
+ Curl_disconnect(conn, FALSE); /* close the connection */
return code;
#else