cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Connection related memory leaks [Was: Calling sslctxfun when shutting down an SSL connection]

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 19 Feb 2007 11:14:16 +0100 (CET)

On Thu, 15 Feb 2007, Shmulik Regev wrote:

> +++ url.c 15 Feb 2007 08:49:49 -0000
> @@ -1786,6 +1786,8 @@
> Curl_destroy_thread_data(&conn->async);
> #endif
>
> + Curl_ssl_close(conn);
> +
> Curl_free_ssl_config(&conn->ssl_config);

Thanks!

This does indeed seem like the correct thing to do, and all tests work fine
for me with this applied. Have you noticed any downsides with doing this?

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-02-19