curl-library
Re: Memory Leak in Libcurl ( with OpenSSL )
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 19 Jan 2010 19:19:54 +0100 (CET)
Date: Tue, 19 Jan 2010 19:19:54 +0100 (CET)
On Tue, 19 Jan 2010, $BNS@;M:(J wrote:
>> https://bugzilla.redhat.com/546707
>
> Don't think it related in this case. Because I just need to call
> curl_global_init(CURL_GLOBAL_ALL); and curl_global_cleanup(); and needn't to
> do any request in the program will cause this memory leak.
Your leak is clearly caused by OpenSSL as when you avoid the OpenSSL init and
cleanup with changing the curl_global_init() options, the leak vanished.
-- / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-01-19