aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-02-19 12:20:32 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-02-19 12:20:32 +0000
commit1045b8d3828db484bb7e1f8162362d10cc21d2f3 (patch)
tree4407f8fa7ecee6b0700e461f175da3205ce71758 /lib/url.c
parentd2bdad59457e8df0ed9878bb21a78fbf122bbd30 (diff)
- Shmulik Regev found a memory leak in re-used HTTPS connections, at least
when the multi interface was used.
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index 692e66c2d..3bd8dcb6d 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -1786,6 +1786,8 @@ static void conn_free(struct connectdata *conn)
Curl_destroy_thread_data(&conn->async);
#endif
+ Curl_ssl_close(conn);
+
Curl_free_ssl_config(&conn->ssl_config);
free(conn); /* free all the connection oriented data */