On Mon, 22 Oct 2018, Gabriel Zachmann via curl-library wrote:
Actually would be possible to allow an application to supply an
allocator and deallocator callbacks to libcurl via an option?
Sure. I don't know why I forgot about that option. I like that way and think
that's the way to go.
curl_global_init_mem -
https://curl.haxx.se/libcurl/c/curl_global_init_mem.html
I suppose what could still be looked into further is if/where we keep data
around longer than we need to before we free it.
--
/ daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html