cURL / Mailing Lists / curl-library / Single Mail



From: Daniel Stenberg <>
Date: Mon, 2 Feb 2009 19:16:41 +0100 (CET)

On Mon, 2 Feb 2009, Patrick Scott wrote:

> I just ran valgrind and found that all the non-cached connections were
> leaked. I call curl_easy_cleanup for each handle and then curl_multi_cleanup
> at the end. In curl_easy_cleanup, ConnectionDone is called for the
> connection and lastconnect is set to connectindex (which is -1). Could there
> be a legitimate leak here?

Given this description it certainly sounds like that. Can you present us the
source code for an app that reproduces this leak?

Received on 2009-02-02