cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Memory leak in libcurl

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 19 Dec 2008 22:34:47 -0800

On Fri, Dec 19, 2008 at 07:45:13PM -0800, Huzaifa Al Nahas wrote:
> Greetings,
> VC++ 8.0 is reporting a memory leak after curl cleans an easy handle.
> Is this a known issue?

curl_easy_init() implicitly calls curl_global_init() if you don't call the
latter explicitly. You need to call curl_global_cleanup() explicitly to
free memory allocated by it.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-12-20