mirror of
https://github.com/curl/curl.git
synced 2026-06-03 22:24:19 +03:00
Avoid leak of local device string when reusing connection
Ensure that the copy of the CURLOPT_INTERFACE string is freed if we decide we can reuse an existing connection.
This commit is contained in:
parent
c771968ab6
commit
15108d6308
1 changed files with 1 additions and 0 deletions
|
|
@ -4779,6 +4779,7 @@ static void reuse_conn(struct connectdata *old_conn,
|
|||
Curl_safefree(old_conn->passwd);
|
||||
Curl_safefree(old_conn->proxyuser);
|
||||
Curl_safefree(old_conn->proxypasswd);
|
||||
Curl_safefree(old_conn->localdev);
|
||||
|
||||
Curl_llist_destroy(old_conn->send_pipe, NULL);
|
||||
Curl_llist_destroy(old_conn->recv_pipe, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue