mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 17:31:46 -05: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
@ -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…
x
Reference in New Issue
Block a user