cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [ curl-Bugs-1216500 ] libcurl handle leak in Windows (fwd)

From: Gisle Vanem <giva_at_bgnett.no>
Date: Tue, 14 Jun 2005 16:47:57 +0200

"Daniel Stenberg" <daniel-curl_at_haxx.se> wrote:

> The fact that no one has reported this problem before makes me suspect this is
> not actually a problem. If this reports is right, every single windows program
> that uses a default built libcurl would leak handles.

I looked at this again and think the OP could be right. I've
commited a small patch to close the thread handle in
Curl_destroy_thread_data() just to be sure (moved CloseHandle).

--gv
Received on 2005-06-14