[PATCH] fix memory leak in lib/easy
Date: Wed, 4 Mar 2009 18:56:32 +0100
there is a possible (and highly propable) memory leak in lib/easy module.
If curl_easy_init() is called before curl_global_init(), the 'initialized'
global variable is incremented and therefor never becomes zero.
In the consequence when running curl binary, the curl_global_cleanup()
function is not called at all. This causes significant memory leak when using
The attached patch (against CVS) fixes it.
- text/x-diff attachment: curl-easy-leak.patch