curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Memory leak issue

From: Dan Fandrich via curl-library <curl-library_at_cool.haxx.se>
Date: Tue, 10 Mar 2020 15:54:17 +0100

On Tue, Mar 10, 2020 at 08:06:18PM +0530, Velayuthaperumal via curl-library wrote:
>     What are the functions which can be called to free the memory allocated
> by libcurl API's.

Cleanup functions should all be documented in the man pages for the APIs in
question. If they aren't, please let us know so that can be fixed. But note
that in the list of functions you gave, one is conspicuously missing:
curl_global_cleanup, which cleans up after curl_global_init.

Dan
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-03-10