aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/url.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 5b00ca750..e9451b67f 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -4664,7 +4664,8 @@ static void reuse_conn(struct connectdata *old_conn,
conn->host=old_conn->host;
}
else
- Curl_safefree(old_conn->host.rawalloc); /* free the newly allocated name buffer */
+ /* free the newly allocated name buffer */
+ Curl_safefree(old_conn->host.rawalloc);
/* persist connection info in session handle */
Curl_persistconninfo(conn);